33 int x,
int y,
int w,
int h,
37 TControl(parent,
id,
nullptr, x, y,
w,
h, module)
88 PageMagnitude =
info.nPage;
207 return PageMagnitude;
421#if OWL_PERSISTENT_STREAMS
430 is >> GetObject()->LineMagnitude
431 >> GetObject()->PageMagnitude;
439TScrollBar::Streamer::Write(opstream&
os)
const
442 os << GetObject()->LineMagnitude
443 << GetObject()->PageMagnitude;
#define PRECONDITION(condition)
TControl unifies its derived control classes, such as TScrollBar, TControlGadget, and TButton.
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
static const TUIMetric CyHScroll
static const TUIMetric CxVScroll
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...
int GetScrollTrackPos(int bar) const
Returns the thumb track position in the scroll bar.
int GetScrollPos(int bar) const
Returns the thumb position in the scroll bar.
virtual void SetupWindow()
Performs setup following creation of an associated MS-Windows window.
HWND THandle
TWindow encapsulates an HWND.
HWND GetHandle() const
Returns the handle of the window.
ipstream, a specialized input stream derivative of pstream, is the base class for reading (extracting...
#define DEFINE_RESPONSE_TABLE1(cls, base)
Macro to define a response table for a class with one base.
void ReadBaseObject(Base *base, ipstream &in)
#define IMPLEMENT_STREAMABLE1(cls, base1)
void WriteBaseObject(Base *base, opstream &out)
TTransferDirection
The TTransferDirection enum describes the constants that the transfer function uses to determine how ...
@ tdSizeData
Return the size of data transferred by the class.
@ tdSetData
Set data from the buffer into the window.
@ tdGetData
Get data from the window into the buffer.
Object Windows Library (OWLNext Core)
Definition of TUIMetric, a UI metrics provider class.