CRichEditOleCallback.GetDragDropEffectmethod
Allows the client to specify the effects of a drop operation.
Syntax
FUNCTION GetDragDropEffect (BYVAL fDrag AS WINBOOL, BYVAL grfKeyState AS DWORD, BYVAL pdwEffect AS LPDWORD) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
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 | The effect used by a rich edit control. When fDrag is TRUE, on return, its content is set to the effect allowable by the rich edit control. When fDrag is FALSE, on return, the variable is set to the effect to use. |
Return value
This method returns S_OK.
Description
Allows the client to specify the effects of a drop operation.
Reference
- Defined in AfxNova/CRichEditOleCallback.inc:39
- Documented in Windows/WIndows Controls/RichEdit/CRichEditOleCallback Class.md
- Topic: CRichEditOleCallback Class