HMENU GetSubMenu(hMenu,nPos)
This function retrieves the menu handle of a pop-up menu.
Parameter | Type/Description |
hMenu | HMENU Identifies the menu. | |
nPos | int Specifies the position in the given menu of the pop-up menu. Position values start at zero for the first menu item. The pop-up menu's integer ID cannot be used in this function. |
The return value identifies the given pop-up menu. It is NULL if no pop-up menu exists at the given position.