I write my own file explorer in SFML. I will create my own popup menu, but I think some people would like to use also the default options for items (folders, files, shortcuts). So one of the options in my popup menu will be the "Open default context menu here". But I don't know how to do that. I did some research and I read a lot of threads, articles, WinAPI documentation and other resources. I tried to simulate right-click in another window, I tried to simulate the Shift+F10 shortcut. Now I fight with menus. But I still have no results. I saw something like this in the file explorer that I used to. There must be a solution to this.
I found this Show system menu from another process (using WinForms, c#) But this activates standard windows menu (alt+space) but I want right-click menu (Shift+F10).