|
|
|
DefaultPrinter |
The DefaultPrinter function restores the default printer for this application.
C
BOOL SftPrintPreview_DefaultPrinter(HWND hwnd);
C++
BOOL CSftPrintPreview::DefaultPrinter();
Parameters
hwnd
The window handle of the Print Preview control.
Returns
The return value is TRUE if the function was successful, otherwise FALSE is returned.
Comments
The DefaultPrinter function restores the default printer for this application.
After changing printer settings or even the current printer, the DefaultPrinter function can be used to restore the default printer for this application.
If no default printer is available, the function returns FALSE.
See Also C/C++ API | C++ Classes | Notifications