|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to add right click menuTool: Visual Studio 2005
I have a custom photo library application previously written in VS 6. Basically it has 1) DriveListBox, DirListBox, FileListBox, all listed as Microsof.VisualBasic.Compatibility.xxx 2) PictureBox inside a Panel (for auto showing scroll bars when photo exceeds viewable area). 3) Buttons under FileListBox to Rename, Delete, etc file. I'm thinking there must be something equivalent to Explorer that allows you to single click to rename, right click with a bunch of options (Rename, Delete, Cut, Paste, etc) that I can replace the FileListBox with. If not, then I'd like to make it so that right click on a selected file would prompt a context menu with a few basic options. Thanks. >If not, then I'd like to make it so that right click on a Have a look at the ContextMenu class.>selected file would prompt a context menu with a few basic options. Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. |
|||||||||||||||||||||||