Version 6.3.8 for Windows
 —  Dialog Component Reference  —

MENU-HANDLE

When used with a dialog, it creates a link between a menu bar plus its submenu controls, its items, and this dialog. The menu is then displayed at the top of the dialog. When the MENU-HANDLE attribute is modified to NULL-HANDLE, the menu disappears without being destroyed. When used with a menu item, it creates a link between a submenu control and this menu item. The menu structure is then nested by one more level. Several dialogs may be linked to the same menu bar, but you may only link one menu bar to a dialog.

Applies to Dialog (window, MDI frame, MDI child), menu item.
Data Type HANDLE
Default Value NULL-HANDLE
Possible Values NULL-HANDLE / any handle of a menu bar

Top of page