23 int x,
int y,
int w,
int h,
TControl unifies its derived control classes, such as TScrollBar, TControlGadget, and TButton.
void SetRules(uint16 invalid, uint16 defFlag)
Set the invalid key combinations for this control.
uint Transfer(uint16 &key, TTransferDirection direction)
Safe overload.
void SetHotKey(uint16 hotKey)
Sets the virtual key code and modifier flags for the hot key.
virtual auto GetWindowClassName() -> TWindowClassName
Return the class name for a hot key control.
uint16 GetHotKey()
Returns the 16-bit virtual key code for the control.
THotKey(TWindow *parent, int id, int x, int y, int w, int h, TModule *module=0)
Constructors for THotKey initialize data fields using parameters passed and default values.
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
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...
bool ModifyStyle(uint32 offBits, uint32 onBits, uint swpFlags=0)
Modifies the style bits of the window.
TResult SendMessage(TMsgId, TParam1=0, TParam2=0) const
Sends a message (msg) to a specified window or windows.
HWND THandle
TWindow encapsulates an HWND.
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.
Definition of class THotKey.
Object Windows Library (OWLNext Core)
void InitializeCommonControls(uint controlFlags)
Wrapper for the Windows API function InitCommmonControlsEx.
uint16 MkUint16(uint8 lo, uint8 hi)
WPARAM TParam1
First parameter type.
uint16 LoUint16(LRESULT r)
TParam2 MkParam2(const T1 &lo, const T2 &hi)
Definition of TSystem, a system information provider class.