virtual BOOL OnBeginDrag( CWnd* pWnd );
Return Value
Nonzero if dragging is allowed, otherwise 0.
Parameters
pWnd
Points to the window that contains the selected data.
Remarks
Called by the framework when an event occurs that could begin a drag operation, such as pressing the left mouse button. Override this function if you want to modify the way the dragging process is started. The default implementation captures the mouse and stays in drag mode until the user clicks the left or right mouse button or hits ESC, at which time it releases the mouse.
COleDropSource Overview | Class Members | Hierarchy Chart
See Also COleDropSource::GiveFeedback