9#if !defined(OWL_BUTTON_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
44 TButton(
TWindow* parent,
int id, LPCTSTR text,
int X,
int Y,
int W,
int H,
bool isDefault =
false,
TModule* = 0);
68 HANDLE GetImage()
const;
69 HANDLE SetImage(HANDLE image, TImageType imageType = Bitmap);
75 uint EvGetDlgCode(
const MSG*);
81 void SetupWindow()
override;
149 return IsCurrentDefPB;
#define PRECONDITION(condition)
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),...
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 SendMessage(TMsgId, TParam1=0, TParam2=0) const
Sends a message (msg) to a specified window or windows.
HWND THandle
TWindow encapsulates an HWND.
HWND GetHandle() const
Returns the handle of the window.
Definition of class TControl.
#define DECLARE_RESPONSE_TABLE(cls)
#define DECLARE_STREAMABLE_OWL(cls, ver)
#define DECLARE_STREAMABLE_INLINES(cls)
Object Windows Library (OWLNext Core).
LPARAM TParam2
Second parameter type.
WPARAM TParam1
First parameter type.
TParam2 MkParam2(const T1 &lo, const T2 &hi)
LRESULT TResult
Result type.
#define CONST_CAST(targetType, object)