summaryrefslogtreecommitdiffabout
path: root/DropURL.h
authorMichael Krelin <hacker@klever.net>2004-07-05 01:53:09 (UTC)
committer Michael Krelin <hacker@klever.net>2004-07-05 01:53:09 (UTC)
commit5305ddd8332ebd905ebef3b8365fc0d736858a7a (patch) (unidiff)
treeba6dc874bdcb00bd2e116b377a92f347ab81a733 /DropURL.h
downloaddipstick-5305ddd8332ebd905ebef3b8365fc0d736858a7a.zip
dipstick-5305ddd8332ebd905ebef3b8365fc0d736858a7a.tar.gz
dipstick-5305ddd8332ebd905ebef3b8365fc0d736858a7a.tar.bz2
initial commit into svn repository
git-svn-id: http://svn.klever.net/kin/dipstick/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8
Diffstat (limited to 'DropURL.h') (more/less context) (ignore whitespace changes)
-rw-r--r--DropURL.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/DropURL.h b/DropURL.h
new file mode 100644
index 0000000..2f72cd2
--- a/dev/null
+++ b/DropURL.h
@@ -0,0 +1,54 @@
1// DropURL.h : header file
2//
3
4
5
6/////////////////////////////////////////////////////////////////////////////
7// CDropURL command target
8
9class CDragPad;
10class CDropURL : public CCmdTarget
11{
12 DECLARE_DYNCREATE(CDropURL)
13
14 CDropURL(); // protected constructor used by dynamic creation
15
16// Attributes
17public:
18 CDragPad* m_Pad;
19 HRESULT Drop(IDataObject *pDataObject,DWORD grfKeyState,POINTL pt,DWORD *pwdEffect);
20 CString GetHostName(IDataObject *pDataObject,CString *url = NULL);
21 HRESULT DragEnter(IDataObject *pDataObject,DWORD grfKeyState,POINTL pt,DWORD *pdwEffect);
22
23// Operations
24public:
25
26// Overrides
27 // ClassWizard generated virtual function overrides
28 //{{AFX_VIRTUAL(CDropURL)
29 public:
30 virtual void OnFinalRelease();
31 //}}AFX_VIRTUAL
32
33// Implementation
34protected:
35 virtual ~CDropURL();
36
37 // Generated message map functions
38 //{{AFX_MSG(CDropURL)
39 //}}AFX_MSG
40
41 DECLARE_MESSAGE_MAP()
42
43 DECLARE_INTERFACE_MAP()
44
45 BEGIN_INTERFACE_PART(DDropTarget, IDropTarget)
46 STDMETHOD_(HRESULT, DragEnter)(IDataObject *pDataObject,DWORD grfKeyState,POINTL pt,DWORD *pdwEffect);
47 STDMETHOD_(HRESULT, DragOver)(DWORD grfKeyState,POINTL pt,DWORD *pdwEffect);
48 STDMETHOD_(HRESULT, DragLeave)(void);
49 STDMETHOD_(HRESULT, Drop)(IDataObject *pDataObject,DWORD grfKeyState,POINTL pt,DWORD *pdwEffect);
50 END_INTERFACE_PART(DDropTarget);
51
52};
53
54/////////////////////////////////////////////////////////////////////////////