Solved

Multiple window type MDI question

Posted on 1997-09-04
1
246 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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
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 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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 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

12 Experts available now in Live!

Get 1:1 Help Now