|
|
|
C/C++ API |
An application communicates with the SftPrintPreview/DLL control by sending messages using the Windows SendMessage function. To simplify the process, SftPrintPreview/DLL offers predefined macros for messages. This eliminates the casting of parameters and the use of SendMessage.
Name |
Description |
Describes the NM_SFTPRINTPREVIEW_CLOSE_CODE notification. |
|
Describes the NM_SFTPRINTPREVIEW_HELP_CODE notification. |
|
Describes the NM_SFTPRINTPREVIEW_PAGESETUP_CODE notification. |
|
Describes the NM_SFTPRINTPREVIEW_PAGESETUPCHANGED_CODE notification. |
|
Describes the NM_SFTPRINTPREVIEW_PRINTERCHANGED_CODE notification. |
|
Describes the NM_SFTPRINTPREVIEW_RETURN_CODE notification. |
|
Describes the NM_SFTPRINTPREVIEW_ZOOMINOUT_CODE notification. |
|
Used with the SFTPRINTPREVIEW_CONTENTWINDOWMESSAGE private Windows message. |
|
Defines the window class name of a Print Preview control. |
|
Used with the GetCtlColors and SetCtlColors functions to define color attributes. |
|
Defines a private Windows message used for support of third-party controls. |
|
Used with the GetControlInfo and SetControlInfo functions to define control attributes. |
|
Used as a parameter to the SFTPRINTPREVIEW_DRAWINFOPROC function. |
|
Defines the type of the callback routine used to render data for previewing or printing. |
|
Defines a type large enough to hold a DWORD or pointer value. |
|
Used with the HitTest function and returns information about a specified location. |
|
Defines a COLORREF color value. |
|
Used with the GetPrinterInfo and SetPrinterInfo functions to define printer settings. |
|
Used with the GetCurrentPrinter and SetCurrentPrinter functions. |
|
Defines the product's version used to compile the application. |
|
Used with the Zoom function to redefine the preview layout. |
|
Used with the ZoomIn function to redefine the preview location (zooming in or out). |
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. |
|
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. |
|
Implements a callback used to print/preview RichEdit 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. |
See Also C++ Classes | Notifications