You can change what commands appear in a specific menu.
If you simply want to enable, gray, remove, or check a menu item, then you can use IN_SetMenuStatus or IN_BatchSetMenuStatus. With IN_SetMenuStatus, the menus are automatically refreshed. With IN_BatchSetMenuStatus, you must use IN_RefreshMenus to update the menus.
Note that enabling or graying a command in a menu also enables or grays the command in a button bar (if it has an associated button bitmap).
To find out the current status of a command, use IN_GetMenuStatus.
You can also change which menu or submenu a command appears in by using IN_AddMenuItem and IN_DeleteMenuItem. With these functions, you can add or remove commands from the main Imagenation window, Layers window, Detail window, or Symbols palette menus.
To find out what commands a particular menu contains, use the IN_GetMenuDefinition function.
Back to: Defining menu bars
See also