MenuHelp  7OFT8A 

The MenuHelp function processes WM_MENUSELECTGA0XSV and WM_COMMAND71V.3J messages and displays help text about the current menu in the specified status window.

void MenuHelp(

    UINT uMsg,

 

    WPARAM wParam,

 

    LPARAM lParam,

 

    HMENU hMainMenu,

 

    HINSTANCE hInst,

 

    HWND hwndStatus,

 

    UINT FAR *lpwIDs

 

   );

 

 

Parameters

uMsg

WM_MENUSELECTGA0XSV or WM_COMMAND71V.3J message.

wParam

First message parameter.

lParam

Second message parameter.

hMainMenu

Handle to the application s main menu.

hInst

Handle to the module that contains the string resources.

hwndStatus

Handle to the status window.

lpwIDs

Pointer to an array that contains pairs of string resource identifiers and menu handles. The function searches the array for the handle to the selected menu and, if found, uses the corresponding resource identifier to load the appropriate help string.

 

Return Values

This function does not return a value.

See Also

WM_COMMAND, WM_MENUSELECT