WINDOW.Show

Previous  Next

 

state = WINDOW.Show( hWindow AS HANDLE,

                    bState  AS INTEGER ) AS INTEGER

 


 

Sets the specified window's show state.  This can be show, hide, normal or maximized

 

Constants included in MyBASIC2_Win32.BIS

 

CONST SW_HIDE              = 0

CONST SW_SHOWNORMAL        = 1

CONST SW_NORMAL            = 1

CONST SW_SHOWMINIMIZED     = 2

CONST SW_SHOWMAXIMIZED     = 3

CONST SW_MAXIMIZE          = 3

CONST SW_SHOWNOACTIVATE    = 4

CONST SW_SHOW              = 5

CONST SW_MINIMIZE          = 6

CONST SW_SHOWMINNOACTIVE   = 7

CONST SW_SHOWNA            = 8

CONST SW_RESTORE           = 9

CONST SW_SHOWDEFAULT       = 10

 

These are the same as supported by Win32 ::ShowWindow.  We don't support any of these for the Tool, Menu and Control bars.  Those will only do SW_HIDE and SW_SHOW