ToggleGadget (Windows)

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

ToggleGadget (Windows)

Post by ts-soft »

This small UserLib, created by edel, enables the creating ToggleGadgets (on / off switch)
The Lib supports x86, x64, ascii and unicode. It requires WinXP or higher

This lib is written in C, so it should work in the next versions of PB.

Screenshot:
Image

Download: http://www.realsource.de/downloads/doc_ ... gglegadget
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
jesperbrannmark
Enthusiast
Enthusiast
Posts: 536
Joined: Mon Feb 16, 2009 10:42 am
Location: sweden
Contact:

Re: ToggleGadget (Windows)

Post by jesperbrannmark »

Little thought on usability, shouldn't on and off change place (the little grey thing)?
And howcome you didn't make it in native PB so it could be fully crossplatform?
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: ToggleGadget (Windows)

Post by ts-soft »

jesperbrannmark wrote:Little thought on usability, shouldn't on and off change place (the little grey thing)?
I don't understand? You can change the color of both states and use any state as on or off.
jesperbrannmark wrote:And howcome you didn't make it in native PB so it could be fully crossplatform?
The code uses winapi.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Post Reply