Reference

MenuHelp(3w)

NAME

MenuHelp (COMCTL32.2)

SYNOPSIS

VOID MenuHelp
(
UINT uMsg,
WPARAM wParam,
LPARAM lParam,
HMENU hMainMenu,
HINSTANCE hInst,
HWND hwndStatus,
UINT* lpwIDs
)

DESCRIPTION

Handles the setting of status bar help messages when the user selects menu items.

PARAMS

uMsg [In] message (WM_MENUSELECT) (see NOTES).

wParam [In] wParam of the message uMsg.

lParam [In] lParam of the message uMsg.

hMainMenu [In] handle to the application's main menu.

hInst [In] handle to the module that contains string resources.

hwndStatus [In] handle to the status bar window.

lpwIDs [In] pointer to an array of integers (see NOTES).

RETURNS

No return value.

NOTES

The official documentation is incomplete! This is the correct documentation:

uMsg: MenuHelp() does NOT handle WM_COMMAND messages! It only handles WM_MENUSELECT messages.

lpwIDs: (will be written ...)

IMPLEMENTATION

Declared in "commctrl.h".

Implemented in "dlls/comctl32/commctrl.c".

Debug channel "commctrl".

History