9#if !defined(OWL_PRINTDIA_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
156 const DEVMODE* GetDevMode()
const;
163 void ClearDevNames();
164 const DEVNAMES* GetDevNames()
const;
200 TPrintDialog(TWindow* parent, TData&,
203 const tstring&
title = tstring(),
206 bool GetDefaultPrinter();
207 auto DoExecute() ->
int override;
212 auto DialogFunction(TMsgId, TParam1, TParam2) ->
INT_PTR override;
249 TResId PrintTemplate;
250 tstring PrintTemplateName;
251 TResId SetupTemplate;
252 tstring SetupTemplateName;
256 TPrintDialog(
const TPrintDialog&);
257 TPrintDialog& operator=(
const TPrintDialog&);
Derived from TDialog, TCommonDialog is the abstract base class for TCommonDialog objects.
TPoint is a support class, derived from tagPOINT.
A DC class that provides access to a printer.
TPrintDialog::TData contains information required to initialize the printer dialog box with the user'...
uint32 PageSetupFlags
Additional page setup dialog flags.
bool UseOldDialog
Flag to force use of the old print dialog under Win2K/XP/.
uint32 Error
If the dialog box is successfully executed, Error returns 0.
TPoint PaperSize
Size of the paper user has chosen.
TRect MinMargin
Minimum allowable margins of the paper.
int MaxPage
MaxPage indicates the maximum number of pages that can be printed.
int FromPage
FromPage indicates the beginning page to print.
uint32 Flags
Flags , which are used to initialize the printer dialog box, can be one or more of the following valu...
int ToPage
ToPage indicates the ending page to print.
int MinPage
MinPage indicates the minimum number of pages that can be printed.
TRect Margin
Initial margins for the paper.
int Copies
Copies indicates the actual number of pages to be printed.
bool DoPageSetup
Flag to do page setup?
TPrintDialog displays a modal print or a page setup dialog.
TRect is a mathematical class derived from tagRect.
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
ipstream, a specialized input stream derivative of pstream, is the base class for reading (extracting...
Base class for writing streamable objects.
Definition of Common Dialog abstract base class.
Definition of GDI DC encapsulation classes: TDC, TWindowDC, TScreenDC, TDesktopDC,...
#define DECLARE_RESPONSE_TABLE(cls)
Object Windows Library (OWLNext Core)