CExtGridWnd::OnGridDropTargetDragOver

Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Invoked when the cursor is dragged over the grid control during OLE drag-and-drop. The method returns an OLE drop effect code.

virtualDROPEFFECT OnGridDropTargetDragOver(
   CWnd * pWnd,
   COleDataObject * pDataObject,
   DWORD dwKeyState,
   CPoint point
);

Parameters

pWnd
Points to the window that the cursor is over. This is typically the grid control.
pDataObject
Points to the data object that contains the data to be dropped.
dwKeyState
Contains the state of the modifier keys on the keyboard. This is a combination of any number of the following: MK_CONTROL, MK_SHIFT, MK_LBUTTON, MK_MBUTTON, and MK_RBUTTON.
point
Contains the current location of the cursor in client coordinates of the grid control.

See Also

CExtGridWnd Overview | Class Members | Hierarchy Chart