![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Professional Programmer
|
Adding MenuItem to System Menu
Hey yall, I am making a small program that allows me to group by fiiles and folders by specifics like type, date, or category and so on. I was wodering, you know when you right click a file or folder the menu it gibves you with options. Ineed to be able to add an item to that menu. Ani ideas? Thanks
__________________
Forgiveness is the fragrance that the violet sheds on the heal that has crushed it. - Mark Twain Destruction leads to a very rough road, but it also breeds creation. |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
|
Which menu?, a menu within your own application that you have coded to show options when you right-click a file/folder that is otherwise represented by your application? or do you mean the system menu?, or is there another menu?
__________________
Mona Lisa must of had the highway blues you can tell by the way she smiles.. |
|
|
|
|
|
#3 |
|
Professional Programmer
|
The system menu, with open, cut copy etc not the application menu with close move size etc, just the one where when you right click the folder or file say on your desktop, the menu that shows there.
__________________
Forgiveness is the fragrance that the violet sheds on the heal that has crushed it. - Mark Twain Destruction leads to a very rough road, but it also breeds creation. |
|
|
|
|
|
#4 |
|
Hobbyist Programmer
|
Are you familiar with editing the registry? even more so using the Registry class exposed by .NET?...As this can be quite simple if so.
HKEY_CLASSES_ROOT\Folder\Shell\NewMenuOption - Set your menu option name here. HKEY_CLASSES_ROOT\Folder\Shell\NewMenuOption\Command - Set the command of your menu option here (ie. %systemroot%system32\calculator.exe). Restart then right click a file/folder in explorer!
__________________
Mona Lisa must of had the highway blues you can tell by the way she smiles.. |
|
|
|
|
|
#5 |
|
Hobbyist Programmer
|
WOW - that is so cool! I'm so going to do that. Can you go into a bit more detail how to do this please?
So you create your program with cut, copy e.t.c. - I can do that fine but then do you just compile it and type the name of it into the registry bit. I know how to get into the registry and navigate around it - no need to go there! Thanks! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SWING stuff... | dsbabyGurl | Java | 6 | Oct 27th, 2006 10:45 PM |
| dropdown menu with persistence? | kerriganm | HTML / XHTML / CSS | 11 | Dec 17th, 2005 2:33 PM |
| How to display a System Menu ? | Bazukaz | C++ | 0 | Sep 29th, 2005 5:07 PM |
| Help! I have a problem | thomas55 | C++ | 1 | Apr 24th, 2005 1:16 PM |