blob: 014ee04b9ba5b5931da1ff43336eb9f84a687003 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#ifndef __LABEL_CONTROL_FIELD_H__
# define __LABEL_CONTROL_FIELD_H__
#include "Field.h"
class ControlField : public Field
{
public:
ControlField(Dialog *dlg, const char *name, HWND hwnd);
virtual ~ControlField();
virtual HWND getHWND();
virtual void setText(const TCHAR *text);
virtual const TCHAR * getText();
virtual void setFont(HFONT hFont);
virtual HFONT getFont() const;
virtual COLORREF getFontColor() const;
virtual int getBorderSize() const;
virtual bool isScrollVisible(bool horizontal) const;
private:
HWND hwnd;
bool textSet;
std::tstring text;
HFONT hFont;
};
#endif // __LABEL_CONTROL_FIELD_H__
|