Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
Yes
Import Library
user32.lib
Header File
winuser.h
Unicode
No
Platform Notes
None

GetSubMenu

The GetSubMenu function retrieves the handle of the drop-down menu or submenu activated by the specified menu item.

HMENU GetSubMenu(

HMENU hMenu,
// handle of menu
int nPos
// menu item position
);

Parameters

hMenu

Identifies the menu.

nPos

Specifies the zero-based relative position in the given menu of an item that activates a drop-down menu or submenu.

Return Values

If the function succeeds, the return value is the handle of the drop-down menu or submenu activated by the menu item. If the menu item does not activate a drop-down menu or submenu, the return value is NULL.

See Also

CreatePopupMenu
, GetMenu

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database