|
-
Jul 6th, 2001, 01:31 PM
#1
Thread Starter
Lively Member
Windows Shell
Hi everyone
I am wondering if anyone can give me a link or some information on integrating the windows shell with an application or maybe even a dll.
Basically what im looking to do is the user will be able to right click any file and an option will appear i then want this to launch the program and run a function i also want file types for my program to have another option which launches the program and runs a different function.
How can this be done i was thinking of passing in a number somehow which corresponds to which option on the right click was selected this then runs through an if statement in main which then branches of to the right function.
Ill just add i can already put the options in the windows shell but i don't know how to pass parameters from the right click event into a program or even into a dll.
Thanks for the Help
Peter
"Let's all join forces, rule with an iron hand...and prove to all the world, metal rules the land..."
-- Judas Priest
My email is [email protected]
-
Jul 6th, 2001, 09:34 PM
#2
Guru
What you want to do is called a Context Menu Handler, and it is a type of shell extension.
I know I've done it before, but I still recommend the Complete Idiot's Guide to Writing Shell Extensions by Michael Dunn. Click this smily: 
You'll need to have basic knowledge of ATL before reading this.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|