Link Search Menu Expand Document

Root.SetWindowState Property

Explanation Maximize and minimize the root window and change the context.
Added since Ver.4.1.3
Not supported in Mobile, AI

Specify the size status with one of the values ​​below.
Call format //.SetWindowState( state )
Return value None
Arguments integer state Specify the window size settings and the context settings.
If both are specified at the same time, the values will be added. ($ MAXMIZE + $ FRONT, etc.)

Specify the size status with one of the values below.
Constant Value Description
$ MINIMIZE 1 Minimize
$ MAXIMIZE 2 Maximize
$ RESTORE 3 If it is currently maximized or minimized, restore it.
$ FULLSCREEN 32 Moves to full screen display mode without title bar.
Added since Ver.5.0.2


Specify the context with one of the values ​​below.
Constant Value Description
$ FRONT 8 Move the window to the front
$ BACK 16 Move the window to the back
Exception None
Example of use
    //.SetWindowState($MAXIMIZE + $FRONT);
    
Related item WindowStateChanged event