Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 20th, 2007, 9:11 PM   #1
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 296
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
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.
bigguy is offline   Reply With Quote
Old Jun 20th, 2007, 9:22 PM   #2
john Wesley
Hobbyist Programmer
 
john Wesley's Avatar
 
Join Date: May 2006
Location: United Kingdom
Posts: 119
Rep Power: 3 john Wesley is on a distinguished road
Send a message via MSN to john Wesley Send a message via Yahoo to john Wesley
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..
john Wesley is offline   Reply With Quote
Old Jun 20th, 2007, 9:28 PM   #3
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 296
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
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.
bigguy is offline   Reply With Quote
Old Jun 20th, 2007, 10:32 PM   #4
john Wesley
Hobbyist Programmer
 
john Wesley's Avatar
 
Join Date: May 2006
Location: United Kingdom
Posts: 119
Rep Power: 3 john Wesley is on a distinguished road
Send a message via MSN to john Wesley Send a message via Yahoo to john Wesley
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..
john Wesley is offline   Reply With Quote
Old Jul 6th, 2007, 5:09 PM   #5
mattireland
Hobbyist Programmer
 
mattireland's Avatar
 
Join Date: Jul 2007
Location: Wales, United Kingdom
Posts: 190
Rep Power: 2 mattireland is on a distinguished road
Send a message via MSN to mattireland Send a message via Skype™ to mattireland
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!
mattireland is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:41 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC