02179b2741f939cf48b02bfef42321496ef30373
[platform/upstream/krb5.git] / src / windows / leash / CLeashDragListBox.h
1 #ifndef _LEASH_DRAGLISTBOX
2 #define _LEASH_DRAGLISTBOX
3
4 /////////////////////////////////////////////////////////////////////////////
5 // CLeashDragListBox
6
7 //#include "AFXCMN.h"
8
9 class CLeashDragListBox : public CDragListBox
10 {
11         //DECLARE_DYNAMIC(CDragListBoxCLeashDragListBox)
12
13         CListBox* m_pOtherListBox;
14         CPropertyPage* m_pPage;
15
16 // Constructors
17 public:
18         CLeashDragListBox();
19         void initOtherListbox(CPropertyPage* pPage, CListBox* pOtherListBox);
20
21 // Attributes
22         //int ItemFromPt(CPoint pt, BOOL bAutoScroll = TRUE) const;
23
24 // Operations
25         virtual void DrawInsert(int nItem);
26
27 // Overridables
28         virtual BOOL BeginDrag(CPoint pt);
29         virtual void CancelDrag(CPoint pt);
30         virtual UINT Dragging(CPoint pt);
31         virtual void Dropped(int nSrcIndex, CPoint pt);
32
33 // Implementation
34 public:
35         int m_nLast;
36         void DrawSingle(int nIndex);
37         virtual void PreSubclassWindow();
38         virtual ~CLeashDragListBox();
39 protected:
40         //virtual BOOL OnChildNotify(UINT, WPARAM, LPARAM, LRESULT*);
41 };
42
43 //class CLeashDragListBox;
44
45 #endif // _LEASH_DRAGLISTBOX