How to abort print preview? 
Author Message
 How to abort print preview?

Hi Marc,

You may want to customize the print preview window, and handle the close
toolbar button. Please check TN030 for more information:

TN030: Customizing Printing and Print Preview


When performing a long time operation, it is important to keep the message
dispatched. Otherwise, the UI will dead and fail to response to user's
operations. For more information, please check the MSJ article below:

http://www.*-*-*.com/ ++0798.htm

Note: The URL may wrap.

Hope it helps.

Best Regards,
Leo Chen

This posting is provided "AS IS" with no warranties, and confers no rights.

| Content-Class: urn:content-classes:message

| Subject: How to abort print preview?
| Date: Wed, 9 Oct 2002 02:24:07 -0700
| Lines: 13

| MIME-Version: 1.0
| Content-Type: text/plain;
|       charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcJvdZ3rRRVJcndrSUCPFwrW4vch6g==
| Newsgroups:
| NNTP-Posting-Host: TKMSFTNGXA14
| Path: cpmsftngxa09!cpmsftngxa06
| Xref: cpmsftngxa09
| X-Tomcat-NG:
| I am searching for an option on how to abort the print
| preview of the MFC preview class.
| I need this, because the drawing of a page in my app can
| last very long. So the user should have an option to abort
| the drawing and close the preview window.
| I know it is possible to use the the CDC::QueryAbort
| method during printing. Can I use a simmilar technique
| during print preview?
| Since the drawing of a page is a multiple step process in
| my app it would be possible to query an abort procedure
| during preview.
| Thanks in advance

Tue, 29 Mar 2005 08:37:59 GMT  
 [ 1 post ] 

 Relevant Pages 

1. abort print and print preview

2. Print Preview Control and Print Preview Dialog - need some help ASAP

3. Adding Print and Print Preview to Richedit Control

4. Why I can't print directly after Print Preview

5. Printing/Print preview problem with CRichEditView.

6. Print Preview and Printing a Document?

7. Printing / Print Preview problem?

8. Print / Print Preview Commands

9. Display bitmaps in Print Preview and printing bitmaps.

10. image shown on print preview but not printed

11. Text on screen looks differently that when printed/print previewed

12. Print preview doesn't work, but print ok


Powered by phpBB® Forum Software