|
|
|
C++ Classes |
Class |
Description |
Control class |
|
Application |
|
Window with Print Preview support |
|
Print Preview Window |
Name |
Description |
Returns whether the specified margins are within the printer's printable area. |
|
Returns whether the specified margins are within the printer's printable area. |
|
Creates a Print Preview control window and attaches it to the CSftPrintPreview object. |
|
Creates a Print Preview control window and attaches it to the CSftPrintPreview object. |
|
Standard constructor. |
|
Restores the default printer for this application. |
|
Retrieves the display and print size of a device dependent bitmap. |
|
Retrieves the Print Preview control attributes. |
|
Retrieves the Print Preview control's color attributes. |
|
Returns the current printer name and a string representing printer settings. |
|
Returns the default printer as defined by Windows. |
|
Returns the current printer's page orientation. |
|
Retrieves the current printer settings. |
|
Determines the area at a given location. |
|
Returns whether the passed printer structure defines the default printer. |
|
Invokes the built-in Page Setup dialog, used to define the page layout (margins, headers, etc.). |
|
Prints the contents. |
|
Displays/prints a device dependent bitmap. |
|
Invokes the Print dialog for printer and page range selection. |
|
Invokes the Print Setup dialog for printer settings definition. |
|
Invokes the Print Setup dialog for printer settings definition. |
|
Registers the calling application for use of SftPrintPreview/DLL controls. |
|
Forces the repositioning of all preview pages and clearing of any cached information. |
|
Defines the Print Preview control attributes. |
|
Defines the Print Preview control's color attributes. |
|
Defines the current printer and optionally defines printer settings. |
|
Defines the current printer settings. |
|
Sets the input focus to a control on the built-in tool bar for editing by the user. |
|
Unregisters the application from SftPrintPreview/DLL. |
|
Redefines the preview layout. |
|
Redefines the preview location (zooming in or out). |
|
Restores a multi-page preview. |
The CSftPrintPreview_App class is used by the CSftPrintPreview_Main and CSftPrintPreview_View classes to retrieve application printer settings.
The application's usual CWinApp object has to be derived from CSftPrintPreview_App instead.
By using multiple inheritance, the class CSftPrintPreview_Main is used to extend an application's view or window class to add print/preview support.
Name |
Description |
Prints the specified contents. |
|
Creates a Print Preview window displaying the specified contents. |
|
Called when the printed/previewed output is reformatted. |
|
Called to initialize print/preview of one or more pages. |
|
Called to print/preview one page. |
|
Called to end print/preview of one or more pages. |
The CSftPrintPreview_View class implements a complete Print Preview view, including SftPrintPreview control with all its features.
Name |
Description |
Called for further Print Preview control customizations. |
|
Called to obtain a keyboard accelerator table. |
|
Called to obtain a menu resource ID. |
|
Called to obtain the current output name. |
|
A collection of menu command handlers, implementing user actions affecting the preview display. |
See Also C/C++ API | Notifications