You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KasmVNC/win/rfb_win32/ListViewControl.h

36 lines
1.1 KiB
C++

// ListViewControl.h: interface for the ListViewControl class.
//
//////////////////////////////////////////////////////////////////////
#ifndef AFX_LISTVIEWCONTROL_H__
#define AFX_LISTVIEWCONTROL_H__
#include <windows.h>
#include "commctrl.h"
namespace rfb {
namespace win32 {
class ListViewControl
{
public:
ListViewControl();
bool IsSelectedLVItem(DWORD idListView, HWND hDlg, int numberItem);
void SelectLVItem(DWORD idListView, HWND hDlg, int numberItem);
BOOL InitLVColumns(DWORD idListView, HWND hDlg, int width, int columns,
TCHAR * title[], DWORD mask, DWORD style, DWORD format);
BOOL InsertLVItem(DWORD idListView, HWND hDlg, int number, TCHAR * texts[],
int columns);
void SetLVItemText(DWORD idListView, HWND hDlg, int numberItem,
int namberColumn, TCHAR * text);
void GetLVItemText(DWORD idListView, HWND hDlg, int numberItem,
int namberColumn, TCHAR * text);
void DeleteLVItem(DWORD idListView, HWND hDlg, int number);
void DeleteAllLVItem(DWORD idListView, HWND hDlg);
virtual ~ListViewControl();
};
};
};
#endif