You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows11下带DTS_SHOWNONE样式的日期时间选择器复选框异常求助

Windows 11下带DTS_SHOWNONE样式的日期时间选择器控件显示异常问题
  • 使用带DTS_SHOWNONE样式的标准Date and Time Picker Control时,Windows 11系统上控件的“无”复选框显示模糊且尺寸过大,进一步观察发现复选框会占满控件整个高度,显示完全异常。
  • 通过Visual Studio 2022模板创建的最简基于对话框的MFC应用,也复现了相同问题。
  • 应用及MFC示例均使用标准Windows清单文件,内容如下:
<?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="amd64" 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>
</assembly>
  • 该问题仅在Windows 11中出现,Windows 10下运行正常,推测是Windows 11版本的日期时间选择器控件存在BUG。

内容的提问来源于stack exchange,提问作者23W

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.19 06:46:10