Hide

SftPrintPreview/DLL 2.0 - Print Preview Control for C/C++

Display
Print

DefaultPrinter Function

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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.