Public Member Functions |
| ListBox (HWND hWnd=NULL) |
int | GetCount () const |
int | SetCount (int cItems) |
int | GetHorizontalExtent () const |
void | SetHorizontalExtent (int cxExtent) |
int | GetTopIndex () const |
int | SetTopIndex (int nIndex) |
LCID | GetLocale () const |
LCID | SetLocale (LCID nNewLocale) |
int | GetCurSel () const |
int | SetCurSel (int nSelect) |
int | GetSel (int nIndex) const |
int | SetSel (int nIndex, BOOL bSelect=TRUE) |
int | GetSelCount () const |
int | GetSelItems (int nMaxItems, LPINT rgIndex) const |
int | GetAnchorIndex () const |
void | SetAnchorIndex (int nIndex) |
int | GetCaretIndex () const |
int | SetCaretIndex (int nIndex, BOOL bScroll=TRUE) |
DWORD_PTR | GetItemData (int nIndex) const |
int | SetItemData (int nIndex, DWORD_PTR dwItemData) |
void * | GetItemDataPtr (int nIndex) const |
int | SetItemDataPtr (int nIndex, void *pData) |
int | GetItemRect (int nIndex, LPRECT lpRect) const |
int | GetText (int nIndex, LPTSTR lpszBuffer) const |
int | GetTextLen (int nIndex) const |
int | GetItemHeight (int nIndex) const |
int | SetItemHeight (int nIndex, UINT cyItemHeight) |
void | SetColumnWidth (int cxWidth) |
BOOL | SetTabStops (int nTabStops, LPINT rgTabStops) |
BOOL | SetTabStops () |
BOOL | SetTabStops (const int &cxEachStop) |
int | InitStorage (int nItems, UINT nBytes) |
void | ResetContent () |
UINT | ItemFromPoint (POINT pt, BOOL &bOutside) const |
int | AddString (LPCTSTR lpszItem) |
int | DeleteString (UINT nIndex) |
int | InsertString (int nIndex, LPCTSTR lpszItem) |
int | Dir (UINT attr, LPCTSTR lpszWildCard) |
int | AddFile (LPCTSTR lpstrFileName) |
int | FindString (int nStartAfter, LPCTSTR lpszItem) const |
int | FindStringExact (int nIndexStart, LPCTSTR lpszFind) const |
int | SelectString (int nStartAfter, LPCTSTR lpszItem) |
int | SelItemRange (BOOL bSelect, int nFirstItem, int nLastItem) |
Static Public Member Functions |
static LPCTSTR | GetWndClassName () |