NetUIHWND 和 DirectUIHWND

NetUIHWND and DirectUIHWND(NetUIHWND 和 DirectUIHWND)
本文介绍了NetUIHWND 和 DirectUIHWND的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

使用Spy++工具,似乎有些微软应用使用了NetUIHWNDDirectUIHWND窗口类;例如:Word 2010 的功能区似乎是 NetUIHWND,而 Windows Live Messenger 窗口似乎是 DirectUIHWND.

Using Spy++ tool, it seems that some Microsoft apps use NetUIHWND and DirectUIHWND window classes; e.g.: Word 2010's ribbon seems to be a NetUIHWND, instead Windows Live Messenger window seems to be a DirectUIHWND.

这些窗口类似乎承载了一些很酷的图形(带有阴影、渐变等);是否可以在我们自己的 Win32 C++ 应用程序中使用这些窗口类?有没有关于它们的文档?

These window classes seem to host kind of cool graphics (with shadows, gradients, etc.); is it possible to use these window classes in our own Win32 C++ apps? Is there any documentation about them?

推荐答案

是的,它已经存在一段时间了.但它在 Windows7 中得到了特别多的使用.不幸的是,他们把这个留给自己,它是无证的.您可以尝试对其进行逆向工程,使用 ListView 作为它可能执行的操作的指南.但是您的代码几乎肯定会在下一版本的 Windows 中崩溃.我认为这是不记录的重点,他们需要一些他们不必保持向后兼容的东西,以便能够改善操作系统的外观.

Yes, it has been around for a while already. But it gets especially a lots of usage in Windows7. Unfortunately, they keep this one to themselves, it is undocumented. You can try to reverse-engineer it, use a ListView as a guide to what it might do. But your code will almost certainly break in the next version of Windows. Which I think was the point of not documenting it, they need something they don't have to keep backwards compatible to be able to improve the look-and-feel of the operating system.

这篇关于NetUIHWND 和 DirectUIHWND的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

What do compilers do with compile-time branching?(编译器如何处理编译时分支?)
Can I use if (pointer) instead of if (pointer != NULL)?(我可以使用 if (pointer) 而不是 if (pointer != NULL) 吗?)
Checking for NULL pointer in C/C++(在 C/C++ 中检查空指针)
Math-like chaining of the comparison operator - as in, quot;if ( (5lt;jlt;=1) )quot;(比较运算符的数学式链接-如“if((5<j<=1)))
Difference between quot;if constexpr()quot; Vs quot;if()quot;(“if constexpr()之间的区别与“if())
C++, variable declaration in #39;if#39; expression(C++,if 表达式中的变量声明)