Solved

MDI and print

Posted on 1999-01-13
2
181 Views
Last Modified: 2013-11-20
As I have a MDI application, I have several views for it, but none of them has a specific menu, they all are called by the main menu. I would like to print the view when they are active. How could I associate the print command to the active view?

0
Comment
Question by:mauling
2 Comments
 
LVL 30

Accepted Solution

by:
Zoppo earned 100 total points
Comment Utility
Implement a command message handle for ID_FILE_PRINT within your view class (with ClassWizard).
In this handler function implement your code for printing the view.
If you have static splitter with different view classes, you must implement a ID_FILE_PRINT handler for each of your view classes.

hope that helps,

ZOPPO
0
 

Author Comment

by:mauling
Comment Utility
But if there some way to print all the windows in the spliter window without selecting the window with mouse. Because when I have a spliter window it seems to the user that both of them are active.
And how could I print a formView implemented with dialog resource.


0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now