blob: 8a16373853f449890c6ceb370cac394eec1151b2 [file] [log] [blame]
Oleg Sheikinf5049ad2005-07-01 12:41:15 +00001// 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
11namespace rfb {
Oleg Sheikin14757372005-07-01 13:31:14 +000012
Oleg Sheikinf5049ad2005-07-01 12:41:15 +000013 namespace win32 {
Oleg Sheikin14757372005-07-01 13:31:14 +000014 class ListViewControl
15 {
16 public:
17 ListViewControl();
Oleg Sheikinff43bfd2005-12-07 08:02:52 +000018 bool IsSelectedLVItem(DWORD idListView, HWND hDlg, int numberItem);
Oleg Sheikin14757372005-07-01 13:31:14 +000019 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 Sheikinf5049ad2005-07-01 12:41:15 +000032 };
33};
34
35#endif;