12#if defined(__BORLANDC__)
84 PRECONDITIONX(
false,
_T(
"Wrong usage for a modal common dialog. Use Execute() instead."));
97 TRACEX(
OwlCommDialog, 0,
"Wrong usage for a modeless common dialog. Use Create() instead.");
Definition of class TApplication.
#define PRECONDITIONX(condition, message)
#define TRACEX(group, level, message)
#define DIAG_DEFINE_GROUP_INIT(f, g, e, l)
Derived from TDialog, TCommonDialog is the abstract base class for TCommonDialog objects.
TCommonDialog(TWindow *parent, LPCTSTR title=nullptr, TModule *module=nullptr)
Invokes a TWindow constructor, passing the parent window parent, and constructs a common dialog box t...
auto PerformCreate() -> THandle override
Default handler for a modeless common dialog.
auto DoExecute() -> int override
Default handler for a modal common dialog.
~TCommonDialog() override
Generate message in diagnostic libraries.
void SetupWindow() override
Assigns the caption of the dialog box to CDTitle if CDTitle is non-blank.
Typically used to obtain information from a user, a dialog box is a window inside of which other cont...
void SetupWindow() override
Overrides the virtual function defined in TWindow.
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...
void SetCaption(LPCTSTR title)
Copies title to an allocated string pointed to by title.
HWND THandle
TWindow encapsulates an HWND.
Definition of Common Dialog abstract base class.
#define DEFINE_RESPONSE_TABLE1(cls, base)
Macro to define a response table for a class with one base.
Object Windows Library (OWLNext Core)
#define EV_COMMAND(id, method)
Response table entry for a menu/accelerator/push button message.