Solved

Is there a way to make a menu stay open after an item has been selected?

Posted on 2003-10-23
2
240 Views
Last Modified: 2010-08-05
In mainMenu1 I have a heading of Settings. Under Settings is a list of options the user can select by clicking on them which toggles a check mark. Unfortunately, upon each click the menus close which makes the user start over by clicking on Settings and then going to the next item. I would like the menu to stay open, allowing the user to select mutiple items and then close the menu by clicking away from the menu area. How can I accomplish this?
0
Comment
Question by:DonH040699
[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 48

Assisted Solution

by:AlexFM
AlexFM earned 125 total points
ID: 9612234
It's impossible. Make Options dialog with multiple check boxes or put all these items on the toolbar.
0
 
LVL 19

Accepted Solution

by:
Desp earned 125 total points
ID: 9612320

System.Windows.Forms.Mainmenu does not support this. Menus are themselves are Forms with no borders and no titlebars. You can make your own controls and can acheive what you want.

But i would recommend that make a Settings Form or Options Form to do this ... Here are a couple of links for options Dialog

http://www.codeproject.com/cs/miscctrl/propertytree.asp
http://www.csharphelp.com/archives2/archive322.html

the user can also use shortcut keys to check/uncheck the setting options
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How can I do Unit Testing with Session ? 1 38
c#, datatable, aspx 4 46
Adjust the codes 3 60
What is GIS method of Geometry data type? 6 28
Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

738 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