12#if defined(__BORLANDC__)
39 CDTitle(title ? title :
_T(
""))
48 :
TDialog(parent, title.c_str(), module),
70 TRACEX(OwlCommDialog, 1,
"TCommonDialog::SetupWindow() @" << (
void*)
this);
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)
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...
~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.
TDialog(TWindow *parent, TResId resId, TModule *module=nullptr)
Constructor for a TDialog object.
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...
virtual THandle PerformCreate()
Called from Create to perform the final step in creating an Windows interface element to be associate...
virtual int DoExecute()
Do actual modal execution using the Begin/End Modal support of TApplication.
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).
DIAG_DEFINE_GROUP_INIT(OWL_INI, OwlApp, 1, 0)
EV_COMMAND(IDOK, CmOkCancel)