Does anyone know how to create a menu like this?
Printable View
Does anyone know how to create a menu like this?
You have to extend the Windows shell. I've never done it but here's a good place to start.
http://search.msdn.microsoft.com/sea...+extensions%22
Heres a thread on it in VB 6 which is very similar to .net.
http://www.vbforums.com/showthread.php?t=323437
I believe that is it! Thank You so much because I been looking for this for a while now!Quote:
Originally Posted by RobDog888
The only thing is it can't handle multiple selected files.
Actually, I think Baja_Yu posted in that thread too. Sorry!
http://www.vbforums.com/showthread.php?t=323437
OK, question about the icon.
When the context menu shows for the folder listbox, the icon appears fine. However, for the file listbox, the icon is blacked-out. Any reason for this?
This doesn't work on shortcuts either.
Yes baja_yu created the thread and its the same link as I posted. ;)
What is the color depth of the icon you are using?
It is the same icon that is in the res file. I am not sure if I understand what you meant by color depth. It is fine in the folder listbox but not fine for the file listbox. It appears as a black image.Quote:
Originally Posted by RobDog888
Also, can you explain these two files that are also in the zip file too - IDataObj.tlb and IctxMenu.tlb? Did the owner create these files or does these files belong to Windows? I am assuming they are belong to Windows because I see them in a non-related site too.
http://www.kisys.com/Technotes/Tech_...adata_Tool.htm
Thanks RobDog888 for the followup.
Rob, are you around?
about Context Menu Handlers:
Here is a sample chapter. It is for VB6 though.
I haven't checked that code. Does it create a dll ? Have you created the dll and tried registering it ?