Page History
...
The visiblestate value passed to Set_Property() can be any of the valid show-window states, (those states accepted by the Windows API function ShowWindow). For example, the Windows SDK file "windows.h" defines SW_RESTORE as 9; this value restores a minimized window to its previous size, equivalent to the "Restore" choice on the Window's system menu.
Note: To hide a menu item, set its visible property to 0. A top level menu (on the menu bar) cannot be hidden this way. To hide it, set its TEXT property to null.
Returns
Values returned by Get_Property and Set_Property:
Value | Description |
---|---|
visiblestate | 0=Hidden. |
1=Visible. | |
2=Minimized. | |
3=Maximized. | |
existingstate | Visibility status, when Set_Property() was run. |
See also
REDRAW property, SIZE property, CREATE Event
Example (Making Menu Items Invisible)
...