MenuHelpMenuHelp*
*Contents  *Index  *Topic Contents
*Previous Topic: DrawStatusText
*Next Topic: Status Bar Messages

MenuHelp


void MenuHelp(
    UINT uMsg, 	
    WPARAM wParam, 	
    LPARAM lParam, 	
    HMENU hMainMenu, 	
    HINSTANCE hInst, 	
    HWND hwndStatus, 	
    LPUINT lpwIDs	
);	

Processes WM_MENUSELECT and WM_COMMAND messages and displays Help text about the current menu in the specified status window.

uMsg
Message being processed. This can be either WM_MENUSELECT or WM_COMMAND.
wParam
wParam of the message specified in uMsg.
lParam
lParam of the message specified in uMsg.
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
Address of 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.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.