Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Thread Tools Display Modes
Old 01-07-2001, 03:41 AM
whatever_ whatever_ is offline
Join Date: Jan 2001
Posts: 36
Default Shell Extension?

does anyone know how to create a context menu in explorer on right click? (like winzip does)

I tried to modify the demo that comes with delphi, but without success :\
Reply With Quote
Old 01-07-2001, 05:03 AM
TiTeaM TiTeaM is offline
Senior Member
Join Date: Jan 2001
Posts: 113
Default RE: Shell Extension?

Create a new ActiveX project, create an IContextMenu interface like the Delphi Demo with the same implementation (modify just InvokeCommand and QueryContextMenu).

You can use the same modele of Class Factory than the demo and just modify the target extension, or directly register your COM object and add your GUID in the registry in ShellEx\ContextHandlers of your file class.

Sorry for my bad English, but I'm french !

If you need more help, send me an e-mail :
Reply With Quote
Old 07-29-2002, 11:31 PM
bondliu bondliu is offline
Junior Member
Join Date: Jul 2002
Posts: 5
Default RE: Shell Extension?

Thank u first, TeaM.
i'm a chinese nice to meet.

i know what you mean. i know how to implement a shell
extention TO A SPECIAL FILE CLASS, but how can i add
a menu item to the popup menu(when we right click mouse button and it pops up) in internet explorer,for example,
i want add an 'Exit' menu item to the popup menu, so when
i want to close current IE, just right click mouse button
and pop up IE popup menu, then i can click the 'Exit' menu
item and close current IE.
just how??
Reply With Quote

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 On

Forum Jump

All times are GMT. The time now is 04:34 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2018, vBulletin Solutions, Inc.