Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How do I create a Menu Item for Open Windows

Posted on 2004-10-30
2
Medium Priority
?
203 Views
Last Modified: 2010-04-15
Hello again all,

I would like to add to my menu a "Window" functionality, much like any other Microsoft "Window" menu item.

Requirements:

Whenever a new "Window" (in my case a c# Form object) is created it is added to the bottom of the "Window" menu list under a seperator bar.  When clicked it changes focus to the "Window" (form) selected from the menu.  If too many "Windows" are open, it opens a dialogue box instead, with a list of currently open "Windows" and allows you to Activate, Save, or Close the window selected in the list box.

If there is a solution to this already posted on the web somewhere, a link is sufficient to earn the points for this.  I can't imagine that someone hasn't already asked this question, I just can't find the answer.

I already have the menu, including the Window selection, and Tile Vertically, Tile Horizontally, Cascade and the seperator bar....  all I need is instructions on how to do the rest dynamically.
0
Comment
Question by:kevon
[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
2 Comments
 
LVL 2

Accepted Solution

by:
AndreiPociu earned 1000 total points
ID: 12457569
Here's how to show the windows you have in your MDI form in a menu:

http://www.geekpedia.com/tutorial99_Building-menus-with-MainMenu.html

(at the end of the tutorial)

Another tutorial which is somewhat similiar:

http://www.geekpedia.com/tutorial41_Using-MDI.html
0
 

Author Comment

by:kevon
ID: 12458370
I can't believe how easy that was!!!  Grrr.

Thanks Andre.  Look for more questions soon  :)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

618 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