WinBtn

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, onClickFunc1r, onClickFunc2r, onClickFunc3r

)→XXX
WinBtn(XXX

Or :

Data(buttons, LlabelOnClickFunc1rLlabelOnClickFunc2rLlabelOnClickFunc3r

)→XXX
WinBtn(XXX

Or :

WinBtn(Data(...))