Share via


CReBarCtrl::DragMove

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

void DragMove( 
   DWORD dwPos = (DWORD 
)-1  
);

Parameters

  • dwPos
    A DWORD value that contains the new 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

Reference

CReBarCtrl Class

Hierarchy Chart

CReBarCtrl::BeginDrag

CReBarCtrl::EndDrag

GetMessage

PeekMessage