10#if !defined(OWL_GROUPBOX_H)
14#if defined(BI_HAS_PRAGMA_ONCE)
55 int X,
int Y,
int W,
int H,
60 int X,
int Y,
int W,
int H,
71 int GetText(LPTSTR str,
int maxChars);
77 virtual void SelectionChanged(
int controlId);
79 bool GetNotifyParent()
const;
80 void SetNotifyParent(
bool notifyparent);
110 return ::GetWindowTextLength(
GetHandle());
115 return ::GetWindowText(
GetHandle(), str, maxChars);
136 NotifyParent = notifyparent;
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),...
An instance of a TGroupBox is an interface object that represents a corresponding group box element.
void SetText(const tstring &str)
bool GetNotifyParent() const
Returns the flag that indicates whether or not the parent is notified.
void SetText(LPCTSTR str)
Sets the contents of the associated static text control to the given string.
tstring GetText()
String-aware overload.
int GetTextLen()
Returns the length of the control's text.
TGroupBox(TWindow *parent, int id, LPCTSTR text, int X, int Y, int W, int H, TModule *module=0)
Constructs a group box object with the supplied parent window (Parent), control ID (Id),...
int GetText(TCHAR *str, int maxChars)
Fills the given string with the text of the control.
void SetNotifyParent(bool notifyparent)
Sets the flag that indicates whether or not the parent is notified.
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...
void SetWindowText(LPCTSTR str)
Sets the window's text to the given string (by copying).
HWND GetHandle() const
Returns the handle of the window.
Definition of class TControl.
#define DECLARE_STREAMABLE_OWL(cls, ver)
#define DECLARE_STREAMABLE_INLINES(cls)
Object Windows Library (OWLNext Core).