Initial commit
This commit is contained in:
35
win/rfb_win32/ListViewControl.h
Normal file
35
win/rfb_win32/ListViewControl.h
Normal file
@@ -0,0 +1,35 @@
|
||||
// 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
|
||||
Reference in New Issue
Block a user