Context menu style of Shell in Windows 10
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
The default context menu (in explorer and open file dialogs) looks like the image below:
The selected menu item has a dark gray background, and I don't like it. It can't be replaced by the theme. I want to restore its style to Windows 8/8.1 style, like this(Windows 10 earlier insider builds):
I have programmed a COM dll and attach it to the explorer, it's able to retrieve the handle of the context menu, but I discovered that none of those menu items have the "MF_OWNERDRAWN" flag, they just have "MF_STRING" flag. So things start to getting wired, perhaps they are not normal owner drawn menus? My question is how does the explorer render its context menu? And are there anyway to customize its style? eg using hook?