mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-11-17 23:42:20 +00:00
16 lines
340 B
C++
16 lines
340 B
C++
#pragma once
|
|
#include "CWidget.h"
|
|
#include <string>
|
|
|
|
class CListBox : public CWidget
|
|
{
|
|
public:
|
|
CListBox(DWORD style, HWND parent);
|
|
void initStorage(DWORD count, size_t perItem);
|
|
int addItem(const std::wstring &display, LPARAM data);
|
|
void delItem(int index);
|
|
int getSel();
|
|
int getData(int index);
|
|
void setSel(int index);
|
|
};
|