Windows Develop Bookmark and Share   
 index > Windows Forms General > Contextmenu and contextmenustrip
 

Contextmenu and contextmenustrip

Hi,

I have to work on context menu. I do not see a contextmenu in my toolbox under windows forms controls. I see only contextmenustrip
Is contextmenu same as context menu strip?

Thanks in Advance
rowter  Thursday, September 24, 2009 2:24 PM

From MSDN article on ContextMenu:

"Represents a shortcut menu. Although ContextMenuStrip replaces and adds functionality to the ContextMenu control of previous versions, ContextMenu is retained for both backward compatibility and future use if you choose."

So yes. Use ContextMenuStrip.


Coding Light - Illuminated Ideas and Algorithms in Software
Coding Light Wiki �LinkedIn �ForumsBrowser
David M Morton  Thursday, September 24, 2009 2:26 PM

From MSDN article on ContextMenu:

"Represents a shortcut menu. Although ContextMenuStrip replaces and adds functionality to the ContextMenu control of previous versions, ContextMenu is retained for both backward compatibility and future use if you choose."

So yes. Use ContextMenuStrip.


Coding Light - Illuminated Ideas and Algorithms in Software
Coding Light Wiki �LinkedIn �ForumsBrowser
David M Morton  Thursday, September 24, 2009 2:26 PM

You can use google to search for other answers

Custom Search

More Threads

• what is problem in this code?
• block the right mouse click in the Microsoft Internet Control
• Query memory info
• Get list of inherited controls
• who have sample drag and drop from treeview to listview?
• C# 2008 - Basic use of a TreeView control
• Thread operation not valid
• Error: System.ArgumentException: Culture ID 2155 (0x086B) is not a supported culture.
• Getting Project NameSpace
• Finding the filename of a file