Link to home
Start Free TrialLog in
Avatar of flyindance
flyindance

asked on

InProcServer(IContextMenu)

I want to know how Winzip works :

When user selects several files in explorer shell ,
then right click mouse button,
An Item-'Add to Zip' can be added ,
This menuitem can include an icon .

I want to know :
1. How to add an menuitem with an icon .
2. How to add an menuitem when several files are selected .(I have run the demo-ConMenu.dpr with delphi, but the menuitem can be added only when one .dpr file was selected --not several but one!)
3. How to get filenames user selected.

Give A demo for me is best.
Thank you very much !
Ā 
ASKER CERTIFIED SOLUTION
Avatar of Lischke
Lischke

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of flyindance
flyindance

ASKER

Hi , Thanks .
But What is 'PIDLManager'?(Uses ..)
Can you give me a demo can be run and
tested?
I will give you my last 100 points.
Many thanks!
Waiting....
Unfortunately, this stuff is quite complex. I recommend that you copy out those parts from my code which you need, say into the context menu demo comming with Delphi.

The code is by no means intended to be runnable by you (there is quite a lot missing, like my PIDL manager class which handles allocation, deallocation, concatenation etc. of pidls). It is the idea that counts. Shell extensions are much too complex to give complete examples. You should have a fair amount of programming experience and if you have this then the code I gave you should answer many of your questions (if this is enough to answer this question here at E-E is a different thing and a decision you have to make yourself).

Ciao, Mike
Many Thanks...
I will try it ...

Thank you for the A grading. Although I cannot give you a complete sample I still can lend a hand on specific details. So just ask if you need some additional information...

Ciao, Mike
Please look for the new 'Question'
that name is:
'Mr.Mike Lischke'

:-)

Please answer it .