14#ifndef __SDROPTARGETDISPATCHER__H__
15#define __SDROPTARGETDISPATCHER__H__
127 IDataObject *pDataObj,
165 STDMETHOD_(HRESULT,
Drop)
167 IDataObject *pDataObj,
182 typedef SMap<SWND, IDropTarget *>
DTMAP;
ULONG Release(void)
Decrements the reference count.
HRESULT DragOver(DWORD grfKeyState, POINTL pt, DWORD *pdwEffect)
Handles the DragOver event.
HRESULT Drop(IDataObject *pDataObj, DWORD grfKeyState, POINTL pt, DWORD *pdwEffect)
Handles the Drop event.
HRESULT DragEnter(IDataObject *pDataObj, DWORD grfKeyState, POINTL pt, DWORD *pdwEffect)
Handles the DragEnter event.
~SDropTargetDispatcher(void)
Destructor.
POINT PointL2FrameClient(const POINTL &pt)
Converts POINTL to frame client coordinates.
HRESULT QueryInterface(REFIID riid, void **ppvObject)
Queries for a specific interface.
BOOL RegisterDragDrop(SWND swnd, IDropTarget *pDropTarget)
Registers a drag-and-drop target for a window.
void SetOwner(SWindow *pOwner)
Sets the owner window.
SMap< SWND, IDropTarget * > DTMAP
BOOL UnregisterDragDrop(SWND swnd)
Unregisters a drag-and-drop target for a window.
HRESULT DragLeave(void)
Handles the DragLeave event.
SDropTargetDispatcher()
Constructor.
ULONG AddRef(void)
Increments the reference count.
Base class for SOUI DUI windows.