Freigeben über


CReBarCtrl::BeginDrag

Implements the behavior of the Win32 message RB_BEGINDRAG, as described in the Windows SDK.

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

Parameters

  • uBand
    Zero-based index of the band that 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.

Requirements

Header: afxcmn.h

See Also

Concepts

CReBarCtrl Class

CReBarCtrl Members

Hierarchy Chart

GetMessage

PeekMessage