从Windows10开始,由生成的(Vista+)文件对话框
hr = CoCreateInstance(CLSID_FileOpenDialog, NULL, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&pfd));当处于高对比度主题时,不显示对话框上下文菜单。它在Win81和Win7中像预期的那样工作,但不是Win10 (没有Win10:从最初到最近的1607年)。
Foobar2000,一个应用程序,最近修复了这个问题(至少是1.3.12版本)。这里有两张照片显示了两个版本的问题,坏的是v1.2.3,但我确信最近的1.3测试版是坏的。
下面是我能在属性中发现的唯一真正区别的winspy信息。Win10系统文件资源管理器具有与当前FB2k中相同的“0000A916(Atom)”属性(但在以前的FB2ks中不存在)。
如何获得类似Win10的“文件打开”对话框?请注意,新版本中没有类似Vista的图形(例如,请参阅后退和前进箭头按钮)。





这第三个链接没有达到0个代表分数。
发布于 2016-10-06 06:08:20
我以为这个问题与主题有关。我比较了两个fb2ks之间的清单。它就在那里。需要supportedOS元素。我唯一关心的是Win10的。我已经包含了我使用的.manifest。
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"></assemblyIdentity>
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"></supportedOS>
</application>
</compatibility>
</assembly>https://stackoverflow.com/questions/39822976
复制相似问题