CReBarCtrl::BeginDrag

void BeginDrag( UINT uBand, DWORD dwPos = (DWORD)-1 );

Parameters

uBand

Zero-based index of the band which the drag-and-drop operation will affect.

dwPos

A 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.

Remarks

This member function implements the behavior of the Win32 message RB_BEGINDRAG, as described in the Platform SDK.

CReBarCtrl OverviewClass MembersHierarchy Chart

See Also   ::GetMessage, ::PeekMessage