10#if !defined(OWL_CHECKBOX_H)
14#if defined(BI_HAS_PRAGMA_ONCE)
63 void Check(
bool check =
true);
71 uint GetCheck()
const;
72 void SetCheck(
uint check);
#define PRECONDITION(condition)
TCheckBox is a streamable interface class that represents a check box control.
bool IsIndeterminate() const
uint GetCheck() const
Returns the state of the check box.
void SetGroup(TGroupBox *group)
Sets the group with which the checkbox is associated.
void Uncheck()
Forces the check box to be unchecked by calling SetCheck() with a value of BF_UNCHECKED.
TGroupBox * GetGroup() const
Returns the group with which the checkbox is associated.
void Check(bool check=true)
Forces the check box to be checked or unchecked by calling SetCheck() with the value BF_CHECKED or BF...
uint EvGetDlgCode(const MSG *)
Override TButton's processing so drawable check boxes and radio buttons work properly.
void Transfer(WORD &state, TTransferDirection direction)
Safe overload.
void SetCheck(uint check)
Forces the check box into the state specified by check.
An instance of a TGroupBox is an interface object that represents a corresponding group box element.
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...
TResult DefaultProcessing()
Handles default processing of events, which includes continued processing of menu/accelerators comman...
HWND THandle
TWindow encapsulates an HWND.
HWND GetHandle() const
Returns the handle of the window.
#define DECLARE_RESPONSE_TABLE(cls)
#define DECLARE_STREAMABLE_OWL(cls, ver)
#define DECLARE_STREAMABLE_INLINES(cls)
TTransferDirection
The TTransferDirection enum describes the constants that the transfer function uses to determine how ...
Object Windows Library (OWLNext Core)
@ BF_UNCHECKED
Item is unchecked.
@ BF_GRAYED
Item is grayed.
@ BF_CHECKED
Item is checked.
#define CONST_CAST(targetType, object)