Loweynet
Rev. | 2bf85c03c1e059a2f75dbd48ef73be5961e12414 |
---|---|
Size | 2,534 bytes |
Time | 2011-09-01 13:44:19 |
Author | hylom |
Log Message | initial commit from 1.97b zip archive
|
/**************************************************************************
OleDragDrop.h
(C) Copyright 1996-2002 By Tomoaki Nakashima. All right reserved.
http://www.nakka.com/
nakka@nakka.com
**************************************************************************/
#ifndef _INC_OLEDRAGDROP
#define _INC_OLEDRAGDROP
#define IDROPTARGET_NOTIFY_DRAGENTER 0
#define IDROPTARGET_NOTIFY_DRAGOVER 1
#define IDROPTARGET_NOTIFY_DRAGLEAVE 2
#define IDROPTARGET_NOTIFY_DROP 3
typedef struct _IDROPTARGET_NOTIFY{
POINTL *ppt; //}EXÌÊu
DWORD dwEffect; //hbOìÅAhbO³êéÎÛųêéøÊ
DWORD grfKeyState; //L[ÌóÔ
UINT cfFormat; //hbv³êéf[^ÌNbv{[htH[}bg
HANDLE hMem; //hbv³êéf[^
LPVOID pdo; //IDataObject
}IDROPTARGET_NOTIFY , *LPIDROPTARGET_NOTIFY;
//DragTarget
BOOL APIPRIVATE OLE_IDropTarget_RegisterDragDrop(HWND hWnd, UINT uCallbackMessage, UINT *cFormat, int cfcnt);
//hbO&hbvÌ^[QbgƵÄo^µÜ·B
//[ø]
// hbO&hbvìªsíê½Æ«ÉwèÌEBhEÌwèÌbZ[WÉÊm³êÜ·B
// wParam ÉìÌíÞ(IDROPTARGET_NOTIFY_)ªÝè³êĢܷB
// lParam É IDROPTARGET_NOTIFY \¢ÌÖÌ|C^ªÝè³êĢܷB
// cFormat Í ó¯æé±ÆªÂ\ÈNbv{[htH[}bgÌXgðwèµÜ·B
// cfcnt ÍNbv{[htH[}bgÌzñÌvfðwèµÜ·B
void APIPRIVATE OLE_IDropTarget_RevokeDragDrop(HWND hWnd);
//hbOhbvÌ^[QbgððµÜ·B
//DropSource
int APIPRIVATE OLE_IDropSource_Start(HWND hWnd, UINT uCallbackMessage, UINT uCallbackDragOverMessage, UINT *ClipFormtList, int cfcnt, int Effect);
//hbOhbvðJn·éÆ«ÉwèµÜ·B
//hbOhbvìÍ©®IÉsíêÜ·ªAf[^ªKvÈÍAwèÌEBhEbZ[WÅf[^vðs¢Ü·B
//[ø]
// hWnd É uCallbackMessage ðÁÄf[^Ìvðs¢Ü·B
// ±Ì wParam Év·éNbv{[htH[}bgÌlªüÁĢܷB
// vOÍ *(HANDLE *)lParam Éf[^ðÝèµÄԵܷB(NULLÅàÂ)
// ClipFormtList ÍT|[gµÄ¢éNbv{[htH[}bgÌzñðwèµÜ·B
// cfcnt ÍNbv{[htH[}bgÌzñÌvfðwèµÜ·B
// Effect Í hbOìÅhbO³êéÎÛųêéøÊÌgÝí¹ðwèµÜ·B
//[ßèl]
//hbvªsíê½êÍAhbvæÌAvP[VªÝèµ½øÊðԵܷB
//LZâG[ÌêÍ -1 ðԵܷB
#endif