sprint 1-alpha
Public Member Functions | Static Public Member Functions
sprint::gtl::ListView Class Reference

ListView control. More...

#include <ListView.h>

Inherits sprint::gtl::CWindow.

List of all members.

Public Member Functions

 ListView (HWND hWnd=NULL)
COLORREF GetBkColor () const
BOOL SetBkColor (COLORREF cr)
HIMAGELIST GetImageList (int nImageListType) const
HIMAGELIST SetImageList (HIMAGELIST hImageList, int nImageList)
int GetItemCount () const
BOOL SetItemCount (int nItems)
BOOL GetItem (LVITEM *pItem) const
BOOL SetItem (const LVITEM *pItem)
BOOL SetItem (int nItem, int nSubItem, UINT nMask, LPCTSTR lpszItem, int nImage, UINT nState, UINT nStateMask, LPARAM lParam)
UINT GetItemState (int nItem, UINT nMask) const
BOOL SetItemState (int nItem, UINT nState, UINT nStateMask)
BOOL SetItemState (int nItem, const LVITEM *pItem)
int GetItemText (int nItem, int nSubItem, LPTSTR lpszText, int nLen) const
BOOL SetItemText (int nItem, int nSubItem, LPCTSTR lpszText)
DWORD_PTR GetItemData (int nItem) const
BOOL SetItemData (int nItem, DWORD_PTR dwData)
UINT GetCallbackMask () const
BOOL SetCallbackMask (UINT nMask)
BOOL GetItemPosition (int nItem, LPPOINT lpPoint) const
BOOL SetItemPosition (int nItem, POINT pt)
BOOL SetItemPosition (int nItem, int x, int y)
int GetStringWidth (LPCTSTR lpsz) const
HWND GetEditControl () const
BOOL GetColumn (int nCol, LVCOLUMN *pColumn) const
BOOL SetColumn (int nCol, const LVCOLUMN *pColumn)
int GetColumnWidth (int nCol) const
BOOL SetColumnWidth (int nCol, int cx)
BOOL GetViewRect (LPRECT lpRect) const
COLORREF GetTextColor () const
BOOL SetTextColor (COLORREF cr)
COLORREF GetTextBkColor () const
BOOL SetTextBkColor (COLORREF cr)
int GetTopIndex () const
int GetCountPerPage () const
BOOL GetOrigin (LPPOINT lpPoint) const
UINT GetSelectedCount () const
BOOL GetItemRect (int nItem, LPRECT lpRect, UINT nCode) const
HCURSOR GetHotCursor () const
HCURSOR SetHotCursor (HCURSOR hHotCursor)
int GetHotItem () const
int SetHotItem (int nIndex)
BOOL GetColumnOrderArray (int nCount, int *lpnArray) const
BOOL SetColumnOrderArray (int nCount, int *lpnArray)
HWND GetHeader () const
BOOL GetSubItemRect (int nItem, int nSubItem, int nFlag, LPRECT lpRect) const
DWORD SetIconSpacing (int cx, int cy)
int GetISearchString (LPTSTR lpstr) const
void GetItemSpacing (SIZE &sizeSpacing, BOOL bSmallIconView=FALSE) const
int GetSelectedIndex () const
BOOL GetSelectedItem (LVITEM *pItem) const
DWORD GetExtendedListViewStyle () const
DWORD SetExtendedListViewStyle (DWORD dwExStyle, DWORD dwExMask=0)
BOOL GetCheckState (int nIndex) const
BOOL SetCheckState (int nItem, BOOL bCheck)
DWORD GetViewType () const
DWORD SetViewType (DWORD dwType)
int InsertColumn (int nCol, const LVCOLUMN *pColumn)
int InsertColumn (int nCol, LPCTSTR lpszColumnHeading, int nFormat=LVCFMT_LEFT, int nWidth=-1, int nSubItem=-1, int iImage=-1, int iOrder=-1)
BOOL DeleteColumn (int nCol)
int InsertItem (UINT nMask, int nItem, LPCTSTR lpszItem, UINT nState, UINT nStateMask, int nImage, LPARAM lParam)
int InsertItem (const LVITEM *pItem)
int InsertItem (int nItem, LPCTSTR lpszItem)
int InsertItem (int nItem, LPCTSTR lpszItem, int nImage)
int GetNextItem (int nItem, int nFlags) const
BOOL DeleteItem (int nItem)
BOOL DeleteAllItems ()
 Erase Content, Clear All Item, Remove All.
int FindItem (LVFINDINFO *pFindInfo, int nStart) const
int HitTest (LVHITTESTINFO *pHitTestInfo) const
int HitTest (POINT pt, UINT *pFlags) const
BOOL EnsureVisible (int nItem, BOOL bPartialOK)
BOOL Scroll (SIZE size)
BOOL RedrawItems (int nFirst, int nLast)
BOOL Arrange (UINT nCode)
HWND EditLabel (int nItem)
BOOL Update (int nItem)
BOOL SortItems (PFNLVCOMPARE pfnCompare, LPARAM lParamSort)
HIMAGELIST RemoveImageList (int nImageList)
HIMAGELIST CreateDragImage (int nItem, LPPOINT lpPoint)
DWORD ApproximateViewRect (int cx=-1, int cy=-1, int nCount=-1)
int SubItemHitTest (LPLVHITTESTINFO lpInfo) const
int AddColumn (LPCTSTR strItem, int nItem, int nSubItem=-1, int nMask=LVCF_FMT|LVCF_WIDTH|LVCF_TEXT|LVCF_SUBITEM, int nFmt=LVCFMT_LEFT)
int AddItem (int nItem, int nSubItem, LPCTSTR strItem, int nImageIndex=-1)
BOOL SelectItem (int nIndex)

Static Public Member Functions

static LPCTSTR GetWndClassName ()

Detailed Description

ListView control.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines