Help Center›AfxNova
CMenu.GetSubMenumethod
Retrieves a handle to the drop-down menu or submenu activated by the specified menu item. Usage example: DIM hSubMenu AS HMENU = CMenu.GetSubMenu(hMenu, 0)
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.
Syntax
PRIVATE FUNCTION CMenu.GetSubMenu (BYVAL hMenu AS HMENU, BYVAL nPos AS LONG) AS HMENU
Description
Retrieves a handle to the drop-down menu or submenu activated by the specified menu item. Usage example: DIM hSubMenu AS HMENU = CMenu.GetSubMenu(hMenu, 0)
Reference
- Include file
CMenu.inc - Defined in AfxNova/CMenu.inc:982