summaryrefslogtreecommitdiff
path: root/win/SortHead.h
diff options
context:
space:
mode:
authorleo1999-12-13 17:36:12 +0000
committerleo1999-12-13 17:36:12 +0000
commitba95dc72674b7b517a771b79df96fa50c77b590e (patch)
tree8c0cb0fa5fb50bd508be2bdaee499e2134ebf6d1 /win/SortHead.h
parentd74841ebfc386e35c57d474742cc8fcbe543f6ff (diff)
Added an icon to indicate the sort order of the pieces list
git-svn-id: http://svn.leocad.org/trunk@31 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/SortHead.h')
-rwxr-xr-xwin/SortHead.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/win/SortHead.h b/win/SortHead.h
new file mode 100755
index 0000000..3d2bc5b
--- /dev/null
+++ b/win/SortHead.h
@@ -0,0 +1,52 @@
+#if !defined(AFX_SORTHEAD_H__56F42684_B169_11D3_A5D1_AA1A6BED9842__INCLUDED_)
+#define AFX_SORTHEAD_H__56F42684_B169_11D3_A5D1_AA1A6BED9842__INCLUDED_
+
+#if _MSC_VER >= 1000
+#pragma once
+#endif // _MSC_VER >= 1000
+// SortHead.h : header file
+//
+
+/////////////////////////////////////////////////////////////////////////////
+// CSortHeaderCtrl window
+
+class CSortHeaderCtrl : public CHeaderCtrl
+{
+// Construction
+public:
+ CSortHeaderCtrl();
+
+// Attributes
+protected:
+ int m_nSortCol;
+ BOOL m_bSortAsc;
+
+// Operations
+public:
+ int SetSortImage(int nCol, BOOL bAsc);
+
+// Overrides
+ // ClassWizard generated virtual function overrides
+ //{{AFX_VIRTUAL(CSortHeaderCtrl)
+ virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
+ //}}AFX_VIRTUAL
+
+// Implementation
+public:
+ virtual ~CSortHeaderCtrl();
+
+ // Generated message map functions
+protected:
+ //{{AFX_MSG(CSortHeaderCtrl)
+ // NOTE - the ClassWizard will add and remove member functions here.
+ //}}AFX_MSG
+
+ DECLARE_MESSAGE_MAP()
+};
+
+/////////////////////////////////////////////////////////////////////////////
+
+//{{AFX_INSERT_LOCATION}}
+// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
+
+#endif // !defined(AFX_SORTHEAD_H__56F42684_B169_11D3_A5D1_AA1A6BED9842__INCLUDED_)