WM_MENUDRAG message
Sent to the owner of a drag-and-drop menu when the user drags a menu item.
#define WM_MENUDRAG 0x0123
Parameters
- wParam
-
The position of the item where the drag operation began.
- lParam
-
A handle to the menu containing the item.
Return value
The application should return one of the following values.
| Return code/value | Description |
|---|---|
|
Menu should remain active. If the mouse is released, it should be ignored. |
|
Menu should be ended. |
Remarks
The application can call the DoDragDrop function in response to this message.
To create a drag-and-drop menu, call SetMenuInfo with MNS_DRAGDROP.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
- Reference
- SetMenuInfo
- Conceptual
- Menus