|
1
|
1 #pragma once
|
|
|
2
|
|
|
3 class CHeaderCtrlEx : public CHeaderCtrl {
|
|
|
4 public:
|
|
|
5 CHeaderCtrlEx(HWND wnd = NULL) : CHeaderCtrl(wnd) {}
|
|
|
6 CHeaderCtrlEx const & operator=(HWND wnd) { m_hWnd = wnd; return *this; }
|
|
|
7
|
|
|
8 // Column sort marker operations
|
|
|
9 // If they appear to have no effect, you're probably missing Common Controls 6 manifest, see link-CommonControls6.h
|
|
|
10 DWORD GetItemFormat(int iItem);
|
|
|
11 void SetItemFormat(int iItem, DWORD flags);
|
|
|
12 void SetItemSort(int iItem, int direction);
|
|
|
13 void SetSingleItemSort(int iItem, int direction);
|
|
|
14 void ClearSort();
|
|
|
15 };
|