-
Notifications
You must be signed in to change notification settings - Fork 0
addSwitchButtonToWindow
Spike edited this page May 1, 2017
·
2 revisions
addSwitchButtonToWindow($strWindow, $strName, $isActive, $iSizeX, $iSizeY, $iPosX, $iPosY, $showZeroOne, $doOutline)
Name of the window the switchbutton is added to.
Name of the button. It's important to use an unique name as this name is used for routing click events!
If the button is active, it's switched on and represented in green, if it's off it's red.
This is the X-Size of the button.
This is the Y-Size of the button.
This is the X-Position of the button.
This is the Y-Position of the button.
If true, 0 is written on the button if it's off and 1 is written if it's on.
Outline 0 or 1 if shown. If $showZeroOne is $False, then this parameter isn't used.
addSwitchButtonToWindow $strType "BTN_SWITCH_TOPMOST" $False 60 20 240 12 $True $False