Solved

Multiple window type MDI question

Posted on 1997-09-04
1
260 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 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
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…

726 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