Solved

Multiple window type MDI question

Posted on 1997-09-04
1
249 Views
Last Modified: 2013-12-03
I am creating an application that uses multiple document templates to create multiple types of windows for the user to use.  What I would like to know is how the main frame of an MDI application stores its child windows, and if there is a better way for me to replicate this with pointers to all the windows that I create.  Any help would be appreciated.
0
Comment
Question by:prodos
1 Comment
 
LVL 3

Accepted Solution

by:
msmits earned 100 total points
ID: 1405801
Are you using any kind of application framework like OWL or MFC? They (at least of OWL I am sure) support different kinds of MDIClient window derived classes and even different files types associated with them. The main window class handles all the administration stuff, like a list of clients and e.g. the Window menu to switch, tile, etc.
The handling of the specific type window is done by the client class itself in window setup, paint and event member functions.

As these class libraries are all based on the win API, you can probably do the same yourself, although it will be a bit more programming. If you want more info on the direct API approach, just say so and/or reject the answer so someone else can give that info.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

911 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

19 Experts available now in Live!

Get 1:1 Help Now