50 Cf.lpfnHook =
nullptr;
#define DIAG_DECLARE_GROUP(group)
#define TRACEX(group, level, message)
Definition of Choose Font Common Dialog class.
Defines information necessary to initialize the dialog box with the user's font selection.
int PointSize
Point size of the font.
HDC DC
Handle to the device context from which fonts are obtained.
TCHAR * Style
Style of the font such as bold, italic, underline, or strikeout.
uint32 Flags
Flags can be a combination of the following constants that control the appearance and functionality o...
uint32 Error
If the dialog box is successfully executed, Error returns 0.
uint16 FontType
Font type or name.
LOGFONT LogFont
Attributes of the font.
int SizeMax
Maximum size of the font.
TColor Color
Indicates the font color that is initially selected when the dialog box is created; contains the user...
int SizeMin
Minimum size of the font.
auto DoExecute() -> int override
Execute the dialog to retrieve the font selected by the user.
auto DialogFunction(TMsgId, TParam1, TParam2) -> INT_PTR override
Override the virtual DialogFunction.
TChooseFontDialog(TWindow *parent, TData &data, TResId templateId=0, LPCTSTR title=nullptr, TModule *module=nullptr)
Initialize the ChooseFont data members.
~TChooseFontDialog() override
Destructor for this object does nothing in the non-diagnostic versions of the library.
Derived from TDialog, TCommonDialog is the abstract base class for TCommonDialog objects.
virtual INT_PTR DialogFunction(TMsgId, TParam1, TParam2)
Override this to process messages within the dialog function.
static INT_PTR CALLBACK StdDlgProc(HWND, UINT, WPARAM, LPARAM) noexcept
Callback procs for hooking TDialog to native window.
ObjectWindows dynamic-link libraries (DLLs) construct an instance of TModule, which acts as an object...
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
TWindow * GetParentO() const
Return the OWL's parent for this window.
TModule * GetModule() const
Returns a pointer to the module object.
HWND GetHandle() const
Returns the handle of the window.
#define DEFINE_RESPONSE_TABLE1(cls, base)
Macro to define a response table for a class with one base.
Object Windows Library (OWLNext Core)
UINT TMsgId
Message ID type.
LPARAM TParam2
Second parameter type.
WPARAM TParam1
First parameter type.