mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-24 17:14:01 +01:00
36 lines
1.1 KiB
C
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
|