1 #ifndef _LEASH_DRAGLISTBOX
2 #define _LEASH_DRAGLISTBOX
4 /////////////////////////////////////////////////////////////////////////////
9 class CLeashDragListBox : public CDragListBox
11 //DECLARE_DYNAMIC(CDragListBoxCLeashDragListBox)
13 CListBox* m_pOtherListBox;
14 CPropertyPage* m_pPage;
19 void initOtherListbox(CPropertyPage* pPage, CListBox* pOtherListBox);
22 //int ItemFromPt(CPoint pt, BOOL bAutoScroll = TRUE) const;
25 virtual void DrawInsert(int nItem);
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);
36 void DrawSingle(int nIndex);
37 virtual void PreSubclassWindow();
38 virtual ~CLeashDragListBox();
40 //virtual BOOL OnChildNotify(UINT, WPARAM, LPARAM, LRESULT*);
43 //class CLeashDragListBox;
45 #endif // _LEASH_DRAGLISTBOX