69 Borders.Right==0 && Borders.Bottom==0)
70 Borders.Left = Borders.Top = Borders.Right = Borders.Bottom = 1;
Class wrapper for management of color values.
static const TColor LtBlue
Static TColor object with fixed Value set by RGB(0, 0, 255).
static const TColor SysBtnText
The symbolic system color value for the text on buttons.
TDC is the root class for GDI DC wrappers.
TFont derived from TGdiObject provides constructors for creating font objects from explicit informati...
bool IsHaveMouse() const
Return true if mouse inside gadget.
TRect & GetBounds()
Returns the boundary rectangle for the gadget.
virtual void LButtonDown(uint modKeys, const TPoint &point)
Captures the mouse if TrackMouse is set.
TGadgetWindow * GetGadgetWindow()
Return a pointer to the owning or parent window for the gadget.
bool GetEnabled() const
Determines whether keyboard and mouse input have been enabled for the specified gadget.
void SetShrinkWrap(bool shrinkWrapWidth, bool shrinkWrapHeight)
Simple set accessor to set whether shrinkwrapping is performed horizontally and/or vertically.
TBorderStyle GetBorderStyle() const
Gets the style for the gadget's borders.
TBorderStyle
Gadget border styles.
@ None
No border painted at all.
@ Raised
Raised above the gadget window.
virtual void PaintBorder(TDC &dc)
Self sent by method Paint().
@ FlatHotText
Adds hot text effect like.
@ FlatStandard
Flat style IE 3.0 - base style.
TPoint is a support class, derived from tagPOINT.
TRect is a mathematical class derived from tagRect.
The tagSIZE struct is defined as.
Derived from TGadget, TTextGadget is a text gadget object.
void GetDesiredSize(TSize &size)
Respond to the virtual call to let this gadget's Window know how big this text gadget wants to be bas...
void SetText(LPCTSTR text)
Set the text for this gadget.
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
void ClientToScreen(TPoint &point) const
Converts the client coordinates specified in point to screen coordinates for the new window.
Object Windows Library (OWLNext Core)