Windows explorer context menu

c++ / delphi package - dll injection and api hooking
Post Reply
Runner
Posts: 90
Joined: Tue Dec 14, 2004 1:04 pm

Windows explorer context menu

Post by Runner »

Hi.

Does anybody know which API is called whe Windows explorer (explorer.exe) calls context menu. This is the same menu that gets called from Open/Save dialogs that use Common Dialogs. I want to prevent that menu from showing or at least limit what the user can click.

Do I need madCodeHook for that or is SetWindowsHookEx enough?

Thanks for replies. :D
madshi
Site Admin
Posts: 10765
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

I guess it's TrackPopupMenu(Ex). But you should be able to solve this via SetWindowsHookEx, I guess. Probably you should catch the context menu message (WM_CONTEXTMENU) or something like that.
Post Reply