Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygendragdrophelper.h
Go to the documentation of this file.
00001 /* 00002 * file system folder 00003 * 00004 * Copyright 1997 Marcus Meissner 00005 * Copyright 1998, 1999, 2002 Juergen Schmied 00006 * Copyright 2009 Andrew Hill 00007 * 00008 * This library is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Lesser General Public 00010 * License as published by the Free Software Foundation; either 00011 * version 2.1 of the License, or (at your option) any later version. 00012 * 00013 * This library is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * Lesser General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public 00019 * License along with this library; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00021 */ 00022 00023 #ifndef _DRAGDROPHELPER_H_ 00024 #define _DRAGDROPHELPER_H_ 00025 00026 class CDropTargetHelper : 00027 public CComCoClass<CDropTargetHelper, &CLSID_DragDropHelper>, 00028 public CComObjectRootEx<CComMultiThreadModelNoCS>, 00029 public IDropTargetHelper 00030 { 00031 private: 00032 public: 00033 CDropTargetHelper(); 00034 ~CDropTargetHelper(); 00035 00037 virtual HRESULT WINAPI DragEnter (HWND hwndTarget, IDataObject* pDataObject, POINT* ppt, DWORD dwEffect); 00038 virtual HRESULT WINAPI DragLeave(); 00039 virtual HRESULT WINAPI DragOver(POINT *ppt, DWORD dwEffect); 00040 virtual HRESULT WINAPI Drop(IDataObject* pDataObject, POINT* ppt, DWORD dwEffect); 00041 virtual HRESULT WINAPI Show(BOOL fShow); 00042 00043 DECLARE_REGISTRY_RESOURCEID(IDR_DRAGDROPHELPER) 00044 DECLARE_NOT_AGGREGATABLE(CDropTargetHelper) 00045 00046 DECLARE_PROTECT_FINAL_CONSTRUCT() 00047 00048 BEGIN_COM_MAP(CDropTargetHelper) 00049 COM_INTERFACE_ENTRY_IID(IID_IDropTargetHelper, IDropTargetHelper) 00050 END_COM_MAP() 00051 }; 00052 00053 #endif // _DRAGDROPHELPER_H_ Generated on Sun May 27 2012 04:26:17 for ReactOS by
1.7.6.1
|