Oleg Sheikin | f5049ad | 2005-07-01 12:41:15 +0000 | [diff] [blame] | 1 | // ListViewControl.h: interface for the ListViewControl class. |
| 2 | // |
| 3 | ////////////////////////////////////////////////////////////////////// |
| 4 | |
| 5 | #ifndef AFX_LISTVIEWCONTROL_H__ |
| 6 | #define AFX_LISTVIEWCONTROL_H__ |
| 7 | |
| 8 | #include <windows.h> |
| 9 | #include "commctrl.h" |
| 10 | |
| 11 | namespace rfb { |
Oleg Sheikin | 1475737 | 2005-07-01 13:31:14 +0000 | [diff] [blame] | 12 | |
Oleg Sheikin | f5049ad | 2005-07-01 12:41:15 +0000 | [diff] [blame] | 13 | namespace win32 { |
Oleg Sheikin | 1475737 | 2005-07-01 13:31:14 +0000 | [diff] [blame] | 14 | class ListViewControl |
| 15 | { |
| 16 | public: |
| 17 | ListViewControl(); |
Oleg Sheikin | ff43bfd | 2005-12-07 08:02:52 +0000 | [diff] [blame] | 18 | bool IsSelectedLVItem(DWORD idListView, HWND hDlg, int numberItem); |
Oleg Sheikin | 1475737 | 2005-07-01 13:31:14 +0000 | [diff] [blame] | 19 | void SelectLVItem(DWORD idListView, HWND hDlg, int numberItem); |
| 20 | BOOL InitLVColumns(DWORD idListView, HWND hDlg, int width, int columns, |
| 21 | TCHAR * title[], DWORD mask, DWORD style, DWORD format); |
| 22 | BOOL InsertLVItem(DWORD idListView, HWND hDlg, int number, TCHAR * texts[], |
| 23 | int columns); |
| 24 | void SetLVItemText(DWORD idListView, HWND hDlg, int numberItem, |
| 25 | int namberColumn, TCHAR * text); |
| 26 | void GetLVItemText(DWORD idListView, HWND hDlg, int numberItem, |
| 27 | int namberColumn, TCHAR * text); |
| 28 | void DeleteLVItem(DWORD idListView, HWND hDlg, int number); |
| 29 | void DeleteAllLVItem(DWORD idListView, HWND hDlg); |
| 30 | virtual ~ListViewControl(); |
| 31 | }; |
Oleg Sheikin | f5049ad | 2005-07-01 12:41:15 +0000 | [diff] [blame] | 32 | }; |
| 33 | }; |
| 34 | |
| 35 | #endif; |