40 TControl(parent, id,
_T(
""), x, y, w, h, module),
47 Attr.Style = WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP;
56 TControl(parent, resourceId, module),
86 return CreateUpDownControl(
88 Attr.X, Attr.Y, Attr.W, Attr.H,
89 Parent ? Parent->GetHandle() :
nullptr,
#define PRECONDITION(condition)
TControl unifies its derived control classes, such as TScrollBar, TControlGadget, and TButton.
TControl(TWindow *parent, int id, LPCTSTR title, int x, int y, int w, int h, TModule *module=nullptr)
Invokes TWindow's constructor, passing it parent (parent window), title (caption text),...
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
TUpDown encapsulates an up-down control, which is a window with a pair of arrow buttons that the user...
void EvVScroll(uint, uint, HWND)
Keeps TWindow from rerouting these. Must be left as is for updown control.
TUpDown(TWindow *parent, int id, int x, int y, int w, int h, TWindow *buddy=0, TModule *module=0)
Constructor of UpDown control.
void EvHScroll(uint, uint, HWND)
Keeps TWindow from rerouting these; must be left as is for updown control.
Type-safe encapsulation of a Windows class name, a union between ATOM and LPCTSTR.
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
virtual THandle PerformCreate()
Called from Create to perform the final step in creating an Windows interface element to be associate...
virtual auto GetWindowClassName() -> TWindowClassName
TModule * GetModule() const
Returns a pointer to the module object.
void DisableTransfer()
Disables (for the interface object) the transfer mechanism, which allows state data to be transferred...
TResult DefaultProcessing()
Handles default processing of events, which includes continued processing of menu/accelerators comman...
HWND THandle
TWindow encapsulates an HWND.
#define DEFINE_RESPONSE_TABLE1(cls, base)
Macro to define a response table for a class with one base.
Definition of abstract GDI object class and derived classes.
THandle GetHandle() const
Return the instance handle of the library module represented by the TModule obect.
Object Windows Library (OWLNext Core).
void InitializeCommonControls(uint controlFlags)
Wrapper for the Windows API function InitCommmonControlsEx.
const uint UpDownTimerID1
const uint UpDownTimerID2
DIAG_DECLARE_GROUP(OwlThread)
General definitions used by all ObjectWindows programs.
Definition of the UI Helper Classes: TUIHandle, TUIBorder, TUIFace, TUIPart.
Definition of class TUpDown.