SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Class | Description |
---|---|
CSftPrintPreview | Control class |
CSftPrintPreview_App | Application |
CSftPrintPreview_Main | Window with Print Preview support |
CSftPrintPreview_View | Print Preview Window |
Name | Description |
---|---|
CheckMarginsPrintable | Returns whether the specified margins are within the printer's printable area. |
CheckMarginsPrintableExternal | Returns whether the specified margins are within the printer's printable area. |
Create | Creates a Print Preview control window and attaches it to the CSftPrintPreview object. |
CreateEx | Creates a Print Preview control window and attaches it to the CSftPrintPreview object. |
CSftPrintPreview | Standard constructor. |
DefaultPrinter | Restores the default printer for this application. |
GetBitmapSize | Retrieves the display and print size of a device dependent bitmap. |
GetControlInfo | Retrieves the Print Preview control attributes. |
GetCtlColors | Retrieves the Print Preview control's color attributes. |
GetCurrentPrinter | Returns the current printer name and a string representing printer settings. |
GetDefaultPrinter | Returns the default printer as defined by Windows. |
GetOrientation | Returns the current printer's page orientation. |
GetPrinterInfo | Retrieves the current printer settings. |
HitTest | Determines the area at a given location. |
IsDefaultPrinterExternal | Returns whether the passed printer structure defines the default printer. |
PageSetup | Invokes the built-in Page Setup dialog, used to define the page layout (margins, headers, etc.). |
Prints the contents. | |
PrintBitmap | Displays/prints a device dependent bitmap. |
PrintDialog | Invokes the Print dialog for printer and page range selection. |
PrintSetup | Invokes the Print Setup dialog for printer settings definition. |
PrintSetupExternal | Invokes the Print Setup dialog for printer settings definition. |
RegisterApp | Registers the calling application for use of SftPrintPreview/DLL controls. |
Restart | Forces the repositioning of all preview pages and clearing of any cached information. |
SetControlInfo | Defines the Print Preview control attributes. |
SetCtlColors | Defines the Print Preview control's color attributes. |
SetCurrentPrinter | Defines the current printer and optionally defines printer settings. |
SetPrinterInfo | Defines the current printer settings. |
ToolBarEdit | Sets the input focus to a control on the built-in tool bar for editing by the user. |
UnregisterApp | Unregisters the application from SftPrintPreview/DLL. |
Zoom | Redefines the preview layout. |
ZoomIn | Redefines the preview location (zooming in or out). |
ZoomReset | 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 |
---|---|
FilePrint | Prints the specified contents. |
FilePrintPreview | Creates a Print Preview window displaying the specified contents. |
OnPrintClearCache | Called when the printed/previewed output is reformatted. |
OnPrintInitialize | Called to initialize print/preview of one or more pages. |
OnPrintOnePage | Called to print/preview one page. |
OnPrintTerminate | 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 |
---|---|
CustomizeControl | Called for further Print Preview control customizations. |
GetAccelResourceID | Called to obtain a keyboard accelerator table. |
GetMenuResourceID | Called to obtain a menu resource ID. |
GetOutputName | Called to obtain the current output name. |
On... Menu Handlers | A collection of menu command handlers, implementing user actions affecting the preview display. |
See Also C/C++ API | Notifications