Closing the Device Context

A device context is closed using DevCloseDC. The print thread must signal print termination to the main processing loop. The main loop can terminate the print thread and dismiss the Page Progress message box.

An application can display a message box to the user indicating a successful print and show the job ID returned by the spooler.


[Back: Disassociating the Presentation Space]
[Next: Print-to-File Considerations]