|
-
April 3rd, 2004, 04:05 AM
#1
How to put dialog befor printing something on view in MFC?
Hello
In my application. I am fdrawing on view.
During Printing I want a dialog must appear with some text and options, based on which my selected text alongwith image drawn on the view get printed.
So requirement is:
Before coming Print dialog i want some another dialog appear first and then print dialog box.
Based on option selected on the dialog box i will set flags which will help me print option comments alongwith the view image
SO where to do Domodal for the dialog. Any help
-
April 3rd, 2004, 10:41 PM
#2
In the view's OnPreparePrinting(), call up your option dialog first. If the user doesn't cancel the option dialog, then call DoPreparePrinting(). Set the members of CPrintInfo* pInfo if you don't want the default print dialog.
Steve
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|