Description #
Adds window buttons to a container, allowing the handle of window functions Close, Maximize and Minimize. It only works with SmallWin and LargeWin, it’ll crash if used with NullContain.
Key : QuadReg [stats] [→]
Inputs #
- Buttons : this number defines wihch buttons you’re using : [-] [O] [X] 0 0 0 0 0 → activate bit to activate button.
- onclickFunc1r : the address of the routine the program will jump to if the first button [-] is clicked.
- onClickFunc2r : same for button 2 [O].
- onClickFunc3r : same for button 3 [X].
Format #
Data(buttons, onClickFunc1
r
, onClickFunc2
r
, onClickFunc3
r
)→XXX
WinBtn(XXX
Or :
Data(buttons,
L
labelOnClickFunc1
r
,
L
labelOnClickFunc2
r
,
L
labelOnClickFunc3
r
)→XXX
WinBtn(XXX
Or :
WinBtn(Data(...))