We help IT Professionals succeed at work.

Appending Desktop Menu for Application

Stomper
Stomper asked
on
Medium Priority
305 Views
Last Modified: 2010-04-04
Can I add a menuItem to the popup menu for an application(when
you right-click on the application on the desktop)  I've seen it done
with other applications.  I am using Delphi Desktop 2.0.
Comment
Watch Question

Commented:
Do you mean for an application or a shortcut to an application ?

Commented:
You have to add a shortcut to your program in the registery  

Commented:
I think Stomper means the window system menu (at the top left corner). The same menue is displayed also when right-clicking the application's button on task bar.
-I'm very curious too... :)

Commented:
Mmm, I think he means this :

When you are on your desktop and click on the Right mouse button, you get a popup menu. Well, I checked this out once and in my opinion you can easely add your program to it, by changing a registry entry. If you want that I search this entry, just give a sign and I'll try to do my best. But maybe there is an other way (without changing the registry, but I doubt that).

Zif.

Commented:
Normally the exe's are not on your desktop. Only shortcuts.

Maybe Stomper still wants something else:

Maybe his application works with files of a certain extension, and he wants to add an item to the popup when the user right clicks a file of that type.

That should be easy to accomplish by adding a file type to your browsers registry. (This can be done without the registry-editor). From the options menu in the browser choose file-type add)

Let me know if that is what you're looking for.

Regards Jacco

Zif-d003303-Matvey: Sometimes a question can be hard to understand.

Commented:
I think he is talking about a property sheet...because he talks of right clicking the application's icon on the desktop...

003: don't you have a wizard for this?

Author

Commented:
I see I caused quite a discussion.  I hope that I can clearify what I need.  I would like to add a menuitem to the popup menu that you get when you right click on an application either on the desktop or in a window.  

Stomper

Commented:
I think he wants to add a menu item to explorer's context menu. Is it the menu that contains entries like Send To, Cut, Copy Paste, etc ?

Commented:
yes, bome that's the right name explorer's context menu. I'm talking about the same thing like you do, but your is much clearer.

Commented:
Hehehehe... :D

Commented:
Matvey?

Commented:
OK, so we all know that (s)he wants to have a menut item added to the context menu. Now, this should work for EXE files and for shortcut to EXE files (I think).
The EXE part is easy, the shortcut part a bit more difficult. But let'S first be sure if I misinterpreted the question.

Stomper, so you mean if you right-click on an icon on the desktop that starts an application without any documents in it, or when you right-click on an application icon in Explorer, you want a menu item added ?

Next thing is, what information do you need when this new item will be selected ?

Slash/d003303

Commented:
No, no ;) I don't know what it is, but it's just funny that there are 5-6 very very wild guesses don't you think? ;-)

Commented:
:-) It is really funny indeed, maybe we should make a component which combines all 5-6 guesses and send it to the net. Then we always can refer to this component ;-) No offens to anybody offcourse. ZiF.

Commented:
Look Inprise (Borland) example at DEMOS\Shellext\ContMenu.dpr

Commented:
Zif, good idea ! Let's make a context menu that does everything that's useful:
Shutting down windows, formatting C:, repair the registry, make coffee, pays your ISP, ... ;-))

I think it's Stompers turn to clarify his needs. But any comments of the experts are welcome, of course. (I gotta get a coffee, first action for that component...)

Slash/d003303

Author

Commented:
LilitaN, I can't find that file.

Bome, that is the menu that I want.  I just didn't what to call it.

Stomper
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
Just to say the example is only available from D3. I see you're using D2...

Commented:
Sorry

Commented:
hehe, but you should at least change the CLSID...
bome
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.