ENABLEMENU |
Top Previous Next |
Syntax ENABLEMENU(win as WINDOW,pos as UINT,bEnable as INT) Description Enables or disables a top level menu (title). Position is the 0 based index of the menu. Parameters win - Window or dialog containing the menu. pos - Position of the menu. bEnable - New enable state of the menu. Use 0 to disable and 1 to enable. Return value None Remarks Disabling a menu title makes it not selectable. Example usage ENABLEMENU mywnd, 0, 0 |