71 lines
1.7 KiB
C
71 lines
1.7 KiB
C
|
#if !defined(AFX_SORTLIST1_H__F6FA57DD_2DB0_42EB_A830_78E34A5E0263__INCLUDED_)
|
|||
|
#define AFX_SORTLIST1_H__F6FA57DD_2DB0_42EB_A830_78E34A5E0263__INCLUDED_
|
|||
|
|
|||
|
#if _MSC_VER > 1000
|
|||
|
#pragma once
|
|||
|
#endif // _MSC_VER > 1000
|
|||
|
// SortList1.h : header file
|
|||
|
//
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
// CSortList window
|
|||
|
|
|||
|
class CSortList : public CListCtrl
|
|||
|
{
|
|||
|
|
|||
|
protected:
|
|||
|
CImageList* m_pDragImage;
|
|||
|
BOOL m_bDragging;
|
|||
|
int m_nDragIndex, m_nDropIndex;
|
|||
|
CWnd* m_pDropWnd;
|
|||
|
CPoint m_ptDropPoint;
|
|||
|
BOOL m_bReSort; //<2F>϶<EFBFBD><CFB6><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
DWORD m_lCheck1; //<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>ÿ<EFBFBD>ζ<EFBFBD><CEB6><EFBFBD>ѡ<EFBFBD><D1A1>
|
|||
|
DWORD m_lCheck2; //<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>ÿ<EFBFBD>ζ<EFBFBD><CEB6><EFBFBD>ѡ<EFBFBD><D1A1>
|
|||
|
DWORD m_lCheck3; //<2F>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>ÿ<EFBFBD>ζ<EFBFBD><CEB6><EFBFBD>ѡ<EFBFBD><D1A1>
|
|||
|
// Construction
|
|||
|
public:
|
|||
|
CSortList();
|
|||
|
|
|||
|
// Attributes
|
|||
|
public:
|
|||
|
|
|||
|
// Operations
|
|||
|
public:
|
|||
|
|
|||
|
// Overrides
|
|||
|
// ClassWizard generated virtual function overrides
|
|||
|
//{{AFX_VIRTUAL(CSortList)
|
|||
|
public:
|
|||
|
protected:
|
|||
|
//}}AFX_VIRTUAL
|
|||
|
|
|||
|
// Implementation
|
|||
|
public:
|
|||
|
void ClearAll();
|
|||
|
void CheckAll();
|
|||
|
void NoverCheck();
|
|||
|
void ReShowSort();
|
|||
|
void Init(BOOL bReSort=false , long lCheck1 = -1 , long lCheck2 = -1 , long lCheck3 = -1);
|
|||
|
virtual ~CSortList();
|
|||
|
|
|||
|
// Generated message map functions
|
|||
|
protected:
|
|||
|
//{{AFX_MSG(CSortList)
|
|||
|
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
|
|||
|
afx_msg void OnBegindrag(NMHDR* pNMHDR, LRESULT* pResult);
|
|||
|
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
|
|||
|
//}}AFX_MSG
|
|||
|
|
|||
|
DECLARE_MESSAGE_MAP()
|
|||
|
private:
|
|||
|
void DropItemOnList();
|
|||
|
};
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
|
|||
|
//{{AFX_INSERT_LOCATION}}
|
|||
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|||
|
|
|||
|
#endif // !defined(AFX_SORTLIST1_H__F6FA57DD_2DB0_42EB_A830_78E34A5E0263__INCLUDED_)
|