35 wnd->Invalidate(
false);
42 wnd->Invalidate(
false);
62 wnd->Invalidate(
false);
68 wnd->Invalidate(
false);
109 rect.Inflate(-1, -1);
111 rect.Inflate(-1, -1);
uint Clear(uint t)
Clear the bits that are enabled in the specified parameter.
bool IsSet(uint t) const
Return true of the ON bits of the parameter are currently enabled.
uint Set(uint t)
Activate the bits that are enabled in the specified parameter.
The GDI Brush class is derived from TGdiObject.
static const TColor LtBlue
Static TColor object with fixed Value set by RGB(0, 0, 255).
static const TColor Sys3dFace
The symbolic system color value for the face color of 3-dimensional display elements.
static const TColor LtGreen
Static TColor object with fixed Value set by RGB(0, 255, 0).
static const TColor SysWindow
The symbolic system color value for the background of each window.
static const TColor LtRed
Static TColor object with fixed Value set by RGB(255, 0, 0).
You can use TComboBox to create a combo box or a combo box control in a parent TWindow,...
int SetExtendedUI(bool Extended)
Specifies whether the combo box uses the extended user interface or the default user interface.
void SetupWindow()
Limits the amount of text that the user can enter in the combo box's edit control to the value of Tex...
void EvPaint()
Intercept WM_PAINT to redirect from TWindow to the underlying control if this Owl object is just a wr...
TDC is the root class for GDI DC wrappers.
bool FrameRect(int x1, int y1, int x2, int y2, const TBrush &brush)
Draws a border on this DC around the given rectangle, rect, using the given brush,...
A TEdit is an interface object that represents an edit control interface element.
void SetupWindow() override
void SetupWindow() override
void SetupWindow() override
bool IdleAction(long idleCount)
void SetFlatStyle(bool flat=true)
void Paint(TDC &dc, TRect &rect)
Derived from TWindow, TGadgetWindow maintains a list of tiled gadgets for a window and lets you dynam...
@ FlatStandard
Flat style IE 3.0 - base style.
An interface object that represents a corresponding list box element.
TPoint is a support class, derived from tagPOINT.
TRect is a mathematical class derived from tagRect.
@ SunkenOuter
Sunken outer edge only.
static bool DrawEdge(TDC &dc, const TRect &frame, uint edge, uint flags)
This is a static function that performs the actual drawing of edges for a UIBorder or an external cli...
static const TUIMetric CxHThumb
Derived from TDC, TWindowDC is a device context (DC) class that provides access to the entire area ow...
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
bool IsWindowEnabled() const
Returns true if the window is enabled.
void SetWindowFont(HFONT font, bool redraw=true)
Sets the font that a control uses to draw text.
TRect GetWindowRect() const
Gets the screen coordinates of the window's rectangle.
TWindow * GetParentO() const
Return the OWL's parent for this window.
void MapWindowPoints(HWND hWndTo, TPoint *pts, int count) const
Maps a set of points in one window to a relative set of points in another window.
TRect GetClientRect() const
Gets the coordinates of the window's client area (the area in a window you can use for drawing).
virtual void SetupWindow()
Performs setup following creation of an associated MS-Windows window.
HWND GetHandle() const
Returns the handle of the window.
#define DEFINE_RESPONSE_TABLE1(cls, base)
Macro to define a response table for a class with one base.
Another implementation of Flat controls.
void SetupWindow() override
Object Windows Library (OWLNext Core)
#define TYPESAFE_DOWNCAST(object, toClass)
Definition of the UI Helper Classes: TUIHandle, TUIBorder, TUIFace, TUIPart.
Definition of TUIMetric, a UI metrics provider class.