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.
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.
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?
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.