IRichEditOleCallback::GetDragDropEffect method
Allows the client to specify the effects of a drop operation.
Syntax
HRESULT GetDragDropEffect( BOOL fDrag, DWORD grfKeyState, LPDWORD pdwEffect );
Parameters
- fDrag
-
Type: BOOL
TRUE if the query is for a IDropTarget::DragEnter or IDropTarget::DragOver. FALSE if the query is for IDropTarget::Drop.
- grfKeyState
-
Type: DWORD
Key state as defined by OLE.
- pdwEffect
-
Type: LPDWORD
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
Type: HRESULT
This method returns S_OK.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 10/27/2012
