GetSubMenufunction
Retrieves a handle to the drop-down menu or submenu activated by the specified menu item.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
FUNCTION GetSubMenu (BYVAL hMenu AS HMENU, BYVAL nPos AS LONG) AS HMENU
Parameters
| Name | Description | |
|---|---|---|
hMenu | A handle to the menu. | |
nPos | The zero-based relative position of the menu item whose identifier is to be retrieved. |
Return value
If the function succeeds, the return value is a handle to 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.
Description
Retrieves a handle to the drop-down menu or submenu activated by the specified menu item.
Reference
- Documented in Windows/WIndows Controls/CMenu Class.md
- Topic: About Menus