WM_MENUDRAG message
Sent to the owner of a drag-and-drop menu when the user drags a menu item.
#define WM_MENUDRAG 0x0123
-
wParam
-
The position of the item where the drag operation began.
-
lParam
-
A handle to the menu containing the item.
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. |
The application can call the DoDragDrop function in response to this message.
To create a drag-and-drop menu, call SetMenuInfo with MNS_DRAGDROP.
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
-
Reference
-
Conceptual