SECEditCtrlOleDropTarget::OnDragScroll

DROPEFFECT SECEditCtrlOleDropTarget::OnDragScroll(CWnd* pWnd, DWORD dwKeyState, CPoint point)

Called by the framework before calling OnDragEnter or OnDragOver to determine whether point is in the scrolling region.

Defined in: SECEditCtrlOleDropTarget.cpp

Return Value

The effect that would result if a drop were attempted at the location specified by point. It can be one or more of the following:

DROPEFFECT_NONE A drop would not be allowed.
DROPEFFECT_COPY A copy operation would be performed.
DROPEFFECT_MOVE A move operation would be performed.

Parameters

pWnd

Points to the window the cursor is entering.

dwKeyState

Contains the state of the modifier keys. This is a combination of any number of the following: MK_CONTROL, MK_SHIFT, MK_ALT, MK_LBUTTON, MK_MBUTTON, and MK_RBUTTON.

point

Contains the current location of the cursor in client coordinates.

See Also

SECEditCtrlOleDropTarget SECEditCtrl

OnDragEnter OnDragLeave OnDrop