Purpose |
Attach a menu to a given dialog. |
Syntax |
MENU ATTACH hMenu, hDlg |
Remarks |
Attach a menu to a dialog, replacing any existing menu that is attached to the dialog. The dialog is redrawn to accommodate the new menu. |
hMenu |
Double-word or Long-integer variable containing the handle of the menu to attach to the dialog. |
hDlg |
Double-word or Long-integer variable containing the handle of the target dialog. |
See also |
Dynamic Dialog Tools, ACCEL ATTACH, Menus, MENU ADD POPUP, MENU ADD STRING, MENU DELETE, MENU DRAW BAR, MENU GET STATE, MENU GET TEXT, MENU NEW BAR, MENU NEW POPUP, MENU SET STATE, MENU SET TEXT |
Example |
See Menu Example. |