implementation of IDragSourceHelper interface
More...
#include <dragdropimpl.h>
implementation of IDragSourceHelper interface
Definition at line 214 of file dragdropimpl.h.
◆ DragSourceHelper()
DragSourceHelper::DragSourceHelper |
( |
| ) |
|
|
inline |
Definition at line 219 of file dragdropimpl.h.
220 {
223 CLSCTX_INPROC_SERVER,
224 IID_IDragSourceHelper,
227 }
IDragSourceHelper * pDragSourceHelper
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
◆ ~DragSourceHelper()
virtual DragSourceHelper::~DragSourceHelper |
( |
| ) |
|
|
inlinevirtual |
◆ InitializeFromBitmap()
Definition at line 239 of file dragdropimpl.h.
245 {
248
249 SHDRAGIMAGE di;
252 di.sizeDragImage.cx = bm.bmWidth;
253 di.sizeDragImage.cy = bm.bmHeight;
255 di.crColorKey = crColorKey;
256 di.ptOffset.x =
pt.x - rc.
left;
257 di.ptOffset.y =
pt.y - rc.
top;
259 }
HRESULT InitializeFromBitmap([in] LPSHDRAGIMAGE pshdi, [in] IDataObject *pDataObject)
◆ InitializeFromWindow()
Definition at line 261 of file dragdropimpl.h.
262 {
266 }
HRESULT InitializeFromWindow([in] HWND hwnd, [in] POINT *ppt, [in] IDataObject *pDataObject)
◆ pDragSourceHelper
The documentation for this class was generated from the following file: