IDesignerDropTargetImpl

template <class T>

class ATL_NO_VTABLE IDesignerDropTargetImpl : public IDropTarget

Parameters

T

Your derived class.

IDesignerDropTargetImpl provides default handling of Drag&Drop functionality. It implements methods of the COleDropTarget class.

#include <addes.h>

Class Members

Method Description
DragEnter (IDataObject *pDataObject, DWORD grfKeyState, POINTL pt, DWORD *pdwEffect) Called when the cursor enters the designer's client area while dragging an object. This method evaluates the object to ensure it can be dropped onto the client area.
DragOver (DWORD grfKeyState, POINTL pt, DWORD *pdwEffect) Called when the cursor has entered the client area, and the user is dragging an object over the client area.
DragLeave () Called when the user drags an object off the client area.
Drop (IDataObject *pDataObject, unsigned long grfKeyState, POINTL pt, unsigned long *pdwEffect) Called when the user drops an object on the client area.

See Also

COleDropTarget in the Microsoft Foundation Class Library Reference