23 static void showError(
Component *parent,
const wstring& errorMessage,
const wstring& title = L
"");
41 static void showInfo(
Component *parent,
const wstring& infoMessage,
const wstring& title = L
"");
136 long& leftMargin,
long& topMargin,
137 long& rightMargin,
long& bottomMargin);
HDC DCHandle
Definition Common.h:17
Base class for all UI components providing window creation, event handling, and listener management.
Definition Component.h:32
A utility class providing static methods to show common dialog boxes.
Definition DialogFactory.h:14
static BOOL showInputDialog(Component *parent, const vector< wstring > &labels, vector< wstring > &values)
Shows a generic input dialog with multiple labeled fields.
static BOOL showFolderSelectionDialog(Component *parent, wstring &selection)
Shows a folder selection dialog.
static BOOL showConfirmDialog(Component *parent, const wstring &promptMessageText, const wstring &title=L"")
Shows a confirmation dialog with Yes/No options.
static DCHandle showPrinterSelectionDialog(Component *parent)
Shows a printer selection dialog.
static BOOL showColorSelectionDialog(Component *parent, COLORREF &selection)
Shows a color selection dialog.
static void showSuccess(Component *parent, const wstring &successMessage, const wstring &title=L"")
Shows a success message dialog.
static BOOL showSaveFileDialog(Component *parent, wstring &selection)
Shows a Save File dialog to specify a file to save.
static BOOL showOpenFileDialog(Component *parent, wstring &selection)
Shows an Open File dialog to select a file.
static void showInfo(Component *parent, const wstring &infoMessage, const wstring &title=L"")
Shows an informational message dialog.
static BOOL showDateInputDialog(Component *parent, wstring &selectedDate)
Shows a generic input dialog with multiple labeled fields.
static void showWarning(Component *parent, const wstring &warningMessage, const wstring &title=L"")
Shows a warning message dialog.
static BOOL showFontSelectionDialog(Component *parent, wstring &fontName, long &fontHeight, long &fontWeight, BOOL &isItalic, COLORREF &color)
Shows a font selection dialog.
static BOOL showPrinterSetupDialog(Component *parent, long &leftMargin, long &topMargin, long &rightMargin, long &bottomMargin)
Shows a printer setup dialog to configure margins.
static void showError(Component *parent, const wstring &errorMessage, const wstring &title=L"")
Shows an error message dialog.