Menu Routines

Toolkit’s menu routines control the placement and processing of your application’s menus.

Understanding menus

M_COLUMN - Place, remove, and delete menu columns

M_DEFCOL - Set default drop‑down menu column or entry

M_DISABLE - Disable an item

M_ENABLE - Enable an item

%M_INFO - Get menu system information

M_KEYTXT - Get shortcut text

M_LDCOL - Load a menu column

%M_POPUP - Process a pop‑up menu

M_PROCESS - Process a menu

M_RESET - Reset to a disabled menu bar

M_RPLENT - Replace menu entry names with their shortcuts

M_SCINFO - Get menu and shortcut entry information

%M_SIGNAL - Signal a menu entry

%M_TEXT - Modify and retrieve menu entry text

M_USER - Retrieve a user text string for a menu entry

MB_BLANK - Add a blank row to a new column

MB_COLUMN - Create a new column

MB_END - Define the end of a new column

MB_ENTRY - Add a menu entry to a new column

MB_LINE - Add a line to a new column

MB_LIST - Create a list entry in a new column

MB_TEXT - Add a row of text to a new column