IRichEditOleCallback::GetDragDropEffect

Allows the client to specify the effects of a drop operation.

HRESULT GetDragDropEffect(
  BOOL fDrag,        
  DWORD grfKeyState, 
  LPDWORD pdwEffect  
);
 

Parameters

fDrag
TRUE if the query is for a IDropTarget::DragEnter or IDropTarget::DragOver FALSE if the query is for IDropTarget::Drop.
grfKeyState
Key state as defined by OLE.
pdwEffect
Pointer to the variable that contains the effect normally used by a rich edit control. On return, the variable is set to the effect to use.

Return Values

No return value.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in richole.h.

See Also

Rich Edit Controls Overview, Rich Edit OLE Interfaces, IDropTarget::DragEnter, IDropTarget::DragOver, IDropTarget::Drop IRichEditOleCallback