MenuHelp
The MenuHelp
function processes WM_MENUSELECT
and WM_COMMAND
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_MENUSELECT or WM_COMMAND 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