REMOVEMENUITEM

Top  Previous  Next

Syntax

REMOVEMENUITEM(win as WINDOW,pos as UINT,id as UINT)

Description

Removes a menu item. If id=0 then the entire menu specified by position is removed.

Parameters

win - Window or dialog containing the menu.

pos - Zero based location of the pull down menu.

id - Identifier of the menu item to be removed.

Return value

None

Remarks

See Also: ADDMENUITEM

Example usage

REMOVEMENUITEM mywnd, 0, 1