kLy
asked on
Context menu's
Hi,
I'd like to know how to show a file's context menu as a right click popup menu in my application. I've done quite a bit of searching online but all I find is info on how to add context menu items, not how to actually display them. Plus, the Win32 API help file is more of a reference guide than something that explains or teaches. Can someone please help?
thx
I'd like to know how to show a file's context menu as a right click popup menu in my application. I've done quite a bit of searching online but all I find is info on how to add context menu items, not how to actually display them. Plus, the Win32 API help file is more of a reference guide than something that explains or teaches. Can someone please help?
thx
ASKER
From what I can tell (which might not be much), this example also deals with the addition of items into a file's context menu which isn't what I want. What I want to do is really quite simple: I only want to DISPLAY the context menu and execute commands in it, but I just can't seem to find where to get this info. I have a file manager type program I'm doing for a project and I just want the context menu of a file in the program to be displayed when I right-click on it. thx
ASKER
This seems to be similar to the IContextMenu help topics in the Delphi Win32 API help file, but it still doesn't seem to help me. I see a lot of settings and flags about the menu itself, but not which menu to call up, ie. which file's context menu or whatever other context menu this actually is displaying. A simple example of how to implement what I want would be extremely helpful. Thanks
here's a tutorial http://netez.com/2xExplorer/shellFAQ/bas_context.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
aah... let me try before I accept... many thanks
so does it work?
how I can use this code??
I didn't understand your question, but there's example of how to create context menu included with Delphi demos, look at:
..\Demos\ActiveX\ShellExt