J
JShrager
I want to create my own shell-based shortcut menu item that comes up on
any file. This MSDN document:
http://msdn.microsoft.com/library/d...l_basics/shell_basics_extending/extending.asp
explains how to do this for a given file type. I've tried this and it
works, so I know that my .exe is right, and that I can hack this
correctly for a given (made up) file type (.foo)
This document:
http://windowssdk.msdn.microsoft.com/en-us/library/ms649567.aspx#registering
Explains how to create a general context handler, and how to hook it
into the context menu under the * (all types) type in
HKEY_CLASSES_ROOT.
BUT...
I can't find anything that tells you how to hook one's own shell-type
(.exe-type) context handler under * (all types), and I haven't been
able to figure it out by example (because all the default ones are
registered types!)
For example, the 1st doc above tells you to change the Default entry
for .foo in hkey_classes_root to the name of my special handler. And
that works... for a specific file type (.foo), but I obviously do NOT
want to change the Default key value for the * type!
So, how can I add a shell-type context menu hander for * (all types)?
Thanks in advance!
any file. This MSDN document:
http://msdn.microsoft.com/library/d...l_basics/shell_basics_extending/extending.asp
explains how to do this for a given file type. I've tried this and it
works, so I know that my .exe is right, and that I can hack this
correctly for a given (made up) file type (.foo)
This document:
http://windowssdk.msdn.microsoft.com/en-us/library/ms649567.aspx#registering
Explains how to create a general context handler, and how to hook it
into the context menu under the * (all types) type in
HKEY_CLASSES_ROOT.
BUT...
I can't find anything that tells you how to hook one's own shell-type
(.exe-type) context handler under * (all types), and I haven't been
able to figure it out by example (because all the default ones are
registered types!)
For example, the 1st doc above tells you to change the Default entry
for .foo in hkey_classes_root to the name of my special handler. And
that works... for a specific file type (.foo), but I obviously do NOT
want to change the Default key value for the * type!
So, how can I add a shell-type context menu hander for * (all types)?
Thanks in advance!