?
Solved

Multiple window type MDI question

Posted on 1997-09-04
1
Medium Priority
?
270 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
[X]
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
1 Comment
 
LVL 3

Accepted Solution

by:
msmits earned 200 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

765 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