Solved

Multiple window type MDI question

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 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