Visual Studio 2010 - Visual C++
CWnd::DragDetect
Captures the mouse and tracks its movement until the user releases the left button, presses the ESC key, or moves the mouse outside the drag rectangle around the specified point.
BOOL DragDetect( POINT pt ) const;
Parameters
Return Value
If the user moved the mouse outside of the drag rectangle while holding down the left button , the return value is nonzero.
If the user did not move the mouse outside of the drag rectangle while holding down the left button , the return value is zero.
Remarks
This member function emulates the functionality of the function DragDetect, as described in the Windows SDK.
Requirements
Header: afxwin.h
See Also