crashrpt2
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
WTL::CSortListViewImpl< T > Class Template Reference
Inheritance diagram for WTL::CSortListViewImpl< T >:
WTL::CSortListViewCtrlImpl< T, TBase, TWinTraits >

Classes

struct  LVCompareParam
 
struct  LVSortInfo
 

Public Types

enum  {
  m_cchCmpTextMax = 32, m_cxSortImage = 16, m_cySortImage = 15, m_cxSortArrow = 11,
  m_cySortArrow = 6, m_iSortUp = 0, m_iSortDown = 1, m_nShellSortUpID = 133
}
 

Public Member Functions

void SetSortColumn (int iCol)
 
int GetSortColumn () const
 
void SetColumnSortType (int iCol, WORD wType)
 
WORD GetColumnSortType (int iCol) const
 
int GetColumnCount () const
 
bool IsSortDescending () const
 
DWORD GetSortListViewExtendedStyle () const
 
DWORD SetSortListViewExtendedStyle (DWORD dwExtendedStyle, DWORD dwMask=0)
 
bool DoSortItems (int iCol, bool bDescending=false)
 
void CreateSortBitmaps ()
 
void NotifyParentSortChanged (int iNewSortCol, int iOldSortCol)
 
int CompareItemsCustom (LVCompareParam *, LVCompareParam *, int)
 
void DrawSortBitmap (CDCHandle dc, int iBitmap, LPRECT prc)
 
double DateStrToDouble (LPCTSTR lpstr, DWORD dwFlags)
 
long StrToLong (LPCTSTR lpstr)
 
double StrToDouble (LPCTSTR lpstr)
 
bool StrToDecimal (LPCTSTR lpstr, DECIMAL *pDecimal)
 
LRESULT OnInsertColumn (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &)
 
LRESULT OnDeleteColumn (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &)
 
LRESULT OnHeaderItemClick (int, LPNMHDR pnmh, BOOL &bHandled)
 
LRESULT OnSettingChange (UINT, WPARAM wParam, LPARAM, BOOL &bHandled)
 
void GetSystemSettings ()
 

Static Public Member Functions

static int CALLBACK LVCompareText (LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)
 
static int CALLBACK LVCompareTextNoCase (LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)
 
static int CALLBACK LVCompareLong (LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)
 
static int CALLBACK LVCompareDouble (LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)
 
static int CALLBACK LVCompareCustom (LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)
 
static int CALLBACK LVCompareDecimal (LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)
 

Public Attributes

bool m_bSortDescending
 
bool m_bCommCtrl6
 
int m_iSortColumn
 
CBitmap m_bmSort [2]
 
int m_fmtOldSortCol
 
HBITMAP m_hbmOldSortCol
 
DWORD m_dwSortLVExtendedStyle
 
ATL::CSimpleArray< WORD > m_arrColSortType
 
bool m_bUseWaitCursor
 

The documentation for this class was generated from the following file: