Inherits Seed.
Public Member Functions | |
template<class To> | |
void | cloneInto (To &to) const |
Clones into e.g. a Seed object. | |
const SmartUtil::tstring & | getClassName () const |
Return the class name. | |
Seed (DontInitialize) | |
Doesn't fill any values. | |
Seed () | |
Fills with default parameters. | |
Public Attributes | |
SmartUtil::tstring | caption |
Initial caption. | |
DWORD | exStyle |
The Extended Style of the object (starts often with WS_EX_ etc). | |
Rectangle | location |
The initial position / size of the Widget. | |
DWORD | style |
The style of the object (starts with WS_ or BS_ etc...). |
This class contains all of the values needed to create the widget. It also knows the type of the class whose seed values it contains. Every widget should define one of these.
SmartUtil::tstring caption [inherited] |
Initial caption.
Windows with a title bar will use this string in the title bar. Controls with caption (e.g. static control, edit control) will use it in the control.
It is feed directly to CreateWindowEx, this means that it follows its conventions. In particular, the string "#num" has a special meaning.
DWORD style [inherited] |
The style of the object (starts with WS_ or BS_ etc...).
WARNING: The creation of most of the controls require WS_CHILD to be set. This is done, by default, in the appropriate controls. If you override the default style, then be sure that WS_CHILD is set (if needed).