1 //*******************************************************************************
4 // You may use this source code, compile or redistribute it as part of your application
5 // for free. You cannot redistribute it as a part of a software development
6 // library without the agreement of the author. If the sources are
7 // distributed along with the application, you should leave the original
8 // copyright notes in the source code without any changes.
9 // This code can be used WITHOUT ANY WARRANTIES at your own risk.
11 // For the latest updates to this code, check this site:
12 // http://www.masmex.com
15 // Copyright(C) 2000 Philip Oldaker <email: philip@masmex.com>
16 //*******************************************************************************
18 #if !defined(AFX_DRAGDROPLIST_H__A4325D31_FF52_11D0_ADBF_0000E81B9EF1__INCLUDED_)
19 #define AFX_DRAGDROPLIST_H__A4325D31_FF52_11D0_ADBF_0000E81B9EF1__INCLUDED_
23 #endif // _MSC_VER >= 1000
24 // DragDropList.h : header file
27 #include "UIImageDropTarget.h"
29 class CListDropTarget : public CUI_ImageDropTarget
34 virtual DROPEFFECT OnDragEnter( CWnd* pWnd, COleDataObject* pDataObject, DWORD dwKeyState, CPoint point );
35 virtual DROPEFFECT OnDragOver( CWnd* pWnd, COleDataObject* pDataObject, DWORD dwKeyState, CPoint point );
36 virtual BOOL OnDrop( CWnd* pWnd, COleDataObject* pDataObject, DROPEFFECT dropEffect, CPoint point );
37 virtual void OnDragLeave( CWnd* pWnd);
39 DWORD m_dwKeyboardState;
42 inline CListDropTarget::CListDropTarget()
44 m_dwKeyboardState = 0;
48 /////////////////////////////////////////////////////////////////////////////
50 //{{AFX_INSERT_LOCATION}}
51 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
53 #endif // !defined(AFX_DRAGDROPLIST_H__A4325D31_FF52_11D0_ADBF_0000E81B9EF1__INCLUDED_)