473,396 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ContextMenu on Form

How do I put a Normal Context menu on the
Form in c#.. I have a written the Context menu name
in the form Context Menu Property, But I dont see any
Menu when I start the EXE. I thought that's all you had
to do. and the menu would appear on the form just like
in Windows Explorer or any other Menu,,(File, View, Edit)
I dont want a popupMenu...Mouse click Pop Up!

Please advice
Nov 15 '05 #1
4 1531
hi shoe,

use MainMenu from ToolBox instead.

--
gani
pls visit http://thedeveloperscorner.com.ph

"shoe" <ha*****@yahoo.com> wrote in message
news:f0*************************@posting.google.co m...
How do I put a Normal Context menu on the
Form in c#.. I have a written the Context menu name
in the form Context Menu Property, But I dont see any
Menu when I start the EXE. I thought that's all you had
to do. and the menu would appear on the form just like
in Windows Explorer or any other Menu,,(File, View, Edit)
I dont want a popupMenu...Mouse click Pop Up!

Please advice

Nov 15 '05 #2
hi shoe,

use MainMenu from ToolBox instead.

--
gani
pls visit http://thedeveloperscorner.com.ph

"shoe" <ha*****@yahoo.com> wrote in message
news:f0*************************@posting.google.co m...
How do I put a Normal Context menu on the
Form in c#.. I have a written the Context menu name
in the form Context Menu Property, But I dont see any
Menu when I start the EXE. I thought that's all you had
to do. and the menu would appear on the form just like
in Windows Explorer or any other Menu,,(File, View, Edit)
I dont want a popupMenu...Mouse click Pop Up!

Please advice

Nov 15 '05 #3
A context menu is one that popups when you click somewhere (usually
right-click). What you want is a MainMenu control and you set the
Form.Menu property to that name.

Randy
http://www.kbcafe.com

ha*****@yahoo.com (shoe) wrote in message news:<f0*************************@posting.google.c om>...
How do I put a Normal Context menu on the
Form in c#.. I have a written the Context menu name
in the form Context Menu Property, But I dont see any
Menu when I start the EXE. I thought that's all you had
to do. and the menu would appear on the form just like
in Windows Explorer or any other Menu,,(File, View, Edit)
I dont want a popupMenu...Mouse click Pop Up!

Please advice

Nov 15 '05 #4
A context menu is one that popups when you click somewhere (usually
right-click). What you want is a MainMenu control and you set the
Form.Menu property to that name.

Randy
http://www.kbcafe.com

ha*****@yahoo.com (shoe) wrote in message news:<f0*************************@posting.google.c om>...
How do I put a Normal Context menu on the
Form in c#.. I have a written the Context menu name
in the form Context Menu Property, But I dont see any
Menu when I start the EXE. I thought that's all you had
to do. and the menu would appear on the form just like
in Windows Explorer or any other Menu,,(File, View, Edit)
I dont want a popupMenu...Mouse click Pop Up!

Please advice

Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Valerie Hough | last post by:
I have two different cases: 0) I right click the mouse button on a list box on my form, then in the Popup handler for the list box I use SendKeys to send three characters at once (the mnemonics...
1
by: Valerie Hough | last post by:
Is there any reason why a ContextMenu object cannot be created (and populated with menu items) in the constructor of the control for which it will be used? If not, then why don't my mnemonics...
0
by: Daniel K. | last post by:
I've got a form with a usercontrol and a contextmenu for it. I put everything together in the VS form designer. the codesnipped below is from that dialog. The problem: Before i added the...
2
by: Derrick | last post by:
I've been working on an application which has a NotifyIcon (system tray icon), and a corresponding ContextMenu. I want to be able to update this menu dynamically. However, when I make changes to...
0
by: Jorge | last post by:
Hello I am trying to browse a form and i know it has 3 contextmenus and a mainmenu. Public Sub PercorreMenus(ByVal f As Form) Dim ctl As Control For Each ctl In f.Controls If...
5
by: Jorge Cavalheiro | last post by:
Hello I am trying to browse thru all menuitens of contextmenus. The form has 3 contextmenus. mi and mi2 as menuitems, f is a form For Each mi In f.ContextMenu.MenuItems For Each mi2 In...
11
by: Graham Charles | last post by:
I'm writing a control inheriting from ComboBox, and I'd like to add an entry to the ContextMenu for that combo box. I have no problem if I create an entirely new ContextMenu from scratch, but I'd...
7
by: wandii | last post by:
Hi, I am trying to show the shortcut menu on a richtextbox control by adding the contextmenu component onto the form. The richtextbox property is assigned to the contextmenu. I created my...
0
by: Steve Richter | last post by:
I cant get a contextmenu to popup in the context of a datagridview. It pops up in the ListBox, and in the form itself. But not the DataGridView. How could that be? here is my code: using...
6
by: Academia | last post by:
VS2008 The help for Form lists ContextMenu as a property but it does not appear in the properties for my form. Is there something I must do to make it appear there. Thanks
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.