RB_BEGINDRAG message
Puts the rebar control in drag-and-drop mode. This message does not cause a RBN_BEGINDRAG notification to be sent.
Parameters
-
wParam
-
Zero-based index of the band that the drag-and-drop operation will affect.
-
lParam
-
DWORD value that contains the starting mouse coordinates. The horizontal coordinate is contained in the LOWORD and the vertical coordinate is contained in the HIWORD. If you pass (DWORD)-1, the rebar control will use the position of the mouse the last time the control's thread called GetMessage or PeekMessage.
Return value
The return value for this message is not used.
Remarks
The RB_BEGINDRAG, RB_DRAGMOVE, and RB_ENDDRAG messages allow you to implement an IDropTarget interface for a rebar control. You send the RB_BEGINDRAG message in response to IDropTarget::DragEnter, send the RB_DRAGMOVE message in response to IDropTarget::DragOver, and the RB_ENDDRAG message in response to IDropTarget::Drop and IDropTarget::DragLeave.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|