TWR T windows api WRapper

- Main Page
- Classes
- Files

- File List

All Classes Functions
TwrListView.h
1 #ifndef TWRLISTVIEW_H
2 #define TWRLISTVIEW_H
3
4 #include "commctrl.h"
5
6 #include "TwrWnd.h"
7
8 class TwrListView : public TwrWnd {
9 public:
10 TwrListView();
11 TwrListView(HWND newHwnd);
12
13 HWND create(void);
14 void insertItem(int index, TCHAR *item);
15 unsigned int SetExtendedStyle(unsigned int newStyle);
16 int insertColumn(
17 int no,
18 TCHAR *title,
19 int nFormat = LVCFMT_LEFT,
20 int nWidth = -1,
21 int nSubItem = -1
22 );
23 void checkItem(int index, bool checked);
24 void selectItem(int index);
25 bool isChecked(int index);
26 };
27
28 #endif