SETMENU

Top  Previous  Next

Syntax

SETMENU(win as WINDOW,hmenu as UINT)

Description

Replaces the menu bar in a window or dialog. Used internally by the menu creation macros.

Parameters

win - Window or dialog

hmenu - New menu returned by CREATEMENU

Return value

None

Remarks

See Also: CREATEMENU

Example usage

SETMENU mywin, hmenu