WM_MENUGETOBJECT message

Sent to the owner of a drag-and-drop menu when the mouse cursor enters a menu item or moves from the center of the item to the top or bottom of the item.

#define WM_MENUGETOBJECT                0x0124

Parameters

wParam

This parameter is not used.

lParam

A pointer to a MENUGETOBJECTINFO structure.

Return value

The application should return one of the following values.

Return code/value Description
MNGO_NOERROR
0x00000001
An interface pointer was returned in the pvObj member of MENUGETOBJECTINFO
MNGO_NOINTERFACE
0x00000000
The interface is not supported.

Requirements

Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Winuser.h (include Windows.h)

See also

Menus Overview