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

Invoked when the cursor enters the grid control for the first time during OLE drag-and-drop. The method returns an OLE drop effect code.

virtualDROPEFFECT OnGridDropTargetDragEnter(
   CWnd * pWnd,
   COleDataObject * pDataObject,
   DWORD dwKeyState,
   CPoint point


Points to the window the cursor is entering. This is typically the grid control.
Points to the data object containing the data that can be dropped.
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.
Contains the current location of the cursor in client coordinates of the grid control.

See Also

CExtGridWnd Overview | Class Members | Hierarchy Chart