windows_programming_notes.nbk: Home | Index | Next Page: GetSystemMetrics | Previous Page: GetScrollPos


 GetSubMenu

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

Syntax

    HMENU GetSubMenu(
        HMENU hMenu,
        int nPos
    );

Parameters

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.

Function Information


windows_programming_notes.nbk: Home | Index | Next Page: GetSystemMetrics | Previous Page: GetScrollPos


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time