Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

MDI and print

Posted on 1999-01-13
2
187 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 31

Accepted Solution

by:
Zoppo earned 100 total points
ID: 1327649
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
ID: 1327650
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sumDigits challenge 9 170
method notes when mouse over in eclipse 5 87
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 104
Message not shown 5 67
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

829 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