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?
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.