Small class will send EvEnable to window, You can set text by handling EvCommandEnable message.
Derived from TGadget, TTextGadget is a text gadget object.
TAlign
Enumerates the text-alignment attributes.
@ Left
Aligns the text at the left edge of the bounding rectangle.
@ Center
Aligns the text horizontally at the center of the bounding rectangle.
LPCTSTR GetText() const
Returns the text for the gadget.
virtual TColor GetEnabledColor() const
void SetText(const tstring &text)
TColor GetBkgndColor() const
Returns the background color for the gadget.
TColor GetTextColor() const
Returns the text color for the gadget.
void SetBkgndColor(const TColor &color)
Sets the background color for the gadget.
void SetTextColor(const TColor &color)
Sets the text color for the gadget when enabled.