C getCurrentThemename返回经典Windows主题的空值
c++ GetCurrentThemeName return empty value for Classic windows themes
当我致电Windows 7基本样式的GetCurrentThemeName()
时,我会得到" C: Windows Resources themes aero aero aero aero.msstyles",但是当我为Windows Classic style或Windows高对比度风格,我得到空刺。
是否期望?
我如何在我的C 应用程序中将Windows Classic样式与Windows高对比度样式区分开?
谢谢Zhenya
Windows Classic和高对比度 disable 主题,因此完全期望一个空字符串。
- 使用getThemeAppproperties()检查是否启用了主题,请检查stap_allow_controls
- 与Spi_gethighConcontrast一起使用SystemParameterSinfo检查是否启用了高对比度。
相关文章:
- 使用 const char* 键映射 C++ 检索空值
- 返回空值的字符串值
- boost::any 如何检查空值/未定义的值
- C++ - 无法从基类继承 |提供空值
- C++空值和此指针
- 使用 cin 或 getline() 输入空值
- 可变参数列表是否以空值终止?
- 如何将整数重新初始化/设置为空值
- 检查构造函数的空值
- 无法从Linux,C ++执行"my_script" python脚本"main(filename)"功能;pModule = PyImport_Import(pName);返回空值
- 使用Nlohmann JSON将JSON数据保存在文件中时获取空值
- 在命名空间中定义变量,但在测试中获取空值
- 将 CURL 转换为字符串时为空值
- QCharts - 在 QLineSeries 中创建一个中断(空值)
- 动态强制转换返回空值
- SDL 表面返回空值
- ptrA = ptrB 是否等同于 ptrA = &*ptrB?,空值是否共享一个地址空间?
- 如何将 libpq 中的空值与C++绑定
- 尝试访问 json dataC++ 时获取空值
- C getCurrentThemename返回经典Windows主题的空值