9#if !defined(OWL_UPDOWN_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
44 int x,
int y,
int w,
int h,
52 HWND GetBuddy()
const;
58 int SetBase(
int base);
67 auto PerformCreate() ->
THandle override;
#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...
TUDAccel is a very thin wrapper for the UDACCEL structure which contains information about updown acc...
TUpDown encapsulates an up-down control, which is a window with a pair of arrow buttons that the user...
uint32 GetRange() const
Retrieves the minimum and maximum range of the underlying up-down control.
int GetBase() const
Retrieves the current radix base of the underlying up-down control.
HWND SetBuddy(HWND hBuddy)
Sets the buddy window of the underlying up-down control.
void SetRange(int lower, int upper)
Sets the minimum and maximum positions of the up-down control.
int SetBase(int base)
Sets the radix of the underlying up-down control.
TResult SetPos(int pos)
Sets the current position of the underlying up-down control.
HWND GetBuddy() const
Retrieves handle of buddy window of underlying up-down control.
int GetAccel(int count, TUDAccel *accels) const
Retrieves acceleration information for the underlying up-down control.
bool SetAccel(int count, const TUDAccel *accels)
Set the acceleration of the underlying up-down control.
int32 GetPos() const
Returns current position of underlying up-down 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...
TResult SendMessage(TMsgId, TParam1=0, TParam2=0) const
Sends a message (msg) to a specified window or windows.
HWND THandle
TWindow encapsulates an HWND.
Definition of classes for CommonControl encapsulation.
Definition of class TControl.
#define DECLARE_RESPONSE_TABLE(cls)
Object Windows Library (OWLNext Core)
uint16 HiUint16(LRESULT r)
LPARAM TParam2
Second parameter type.
WPARAM TParam1
First parameter type.
uint16 LoUint16(LRESULT r)
TParam2 MkParam2(const T1 &lo, const T2 &hi)
#define CONST_CAST(targetType, object)