QueryContextMenu function gets different result on NET6.0 and NetFramework4.8

30 Views Asked by At

My project is using WPF and NETFramework 4.8. I need to get shell context menu with all items as in explorer. I could get desirable result in Net6.0 but the same code brings less items while running in NETFramework4.8.

How to fix this?

ContextMenu in Net6.0 ContextMenu in NETFramework4.8

Here is a code: Net6.0 NETFramework4.8

0

There are 0 best solutions below