SAMPLE: Common Dialogs and Printing Functions Sample CodeLast reviewed: February 15, 1996Article ID: Q81337 |
The information in this article applies to:
PRNCDLG is a file in the Microsoft Software Library that demonstrates using the new printing functions available in Windows 3.1. The sample demonstrates the SetAbortProc(), StartDoc(), EndDoc(), StartPage(), and EndPage() functions. The sample also demonstrates using the ChooseFont() and PrintDlg() common dialog boxes provided by the common dialog box library. The sample allows the user to select a font and display a line of text to the screen using that font. Also, the user can print the same line of text to a printer selected through the PrintDlg() common dialog box. Download PRNCDLG.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:
|
Additional reference words: 3.10 softlib PRNCDLG.EXE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |