mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
400 B
20 lines
400 B
#ifndef _CLISTBOX
|
|
#define _CLISTBOX
|
|
|
|
class CListBoxUtil {
|
|
public:
|
|
CListBoxUtil(HWND hListBox);
|
|
~CListBoxUtil();
|
|
|
|
// helper functions
|
|
void ResetContent();
|
|
void AddStringAndData(LPTSTR szString, void* pData);
|
|
int GetCurSelTextAndData(LPTSTR szString, void** pData);
|
|
void SetCurSel(int NewCurSel);
|
|
int GetCount();
|
|
private:
|
|
HWND m_hWnd;
|
|
protected:
|
|
};
|
|
|
|
#endif
|