简体   繁体   English

Windows上的Ribbon UI和Desktop Window Manager API

[英]Ribbon UI and Desktop Window Manager API on windows

I am trying to implement my own ribbon UI in native c++. 我正在尝试在本机c ++中实现自己的功能区UI。 How is this implemented on windows XP ?? 在Windows XP上如何实现? Unfortunately I cannot use any of the available frameworks. 不幸的是,我无法使用任何可用的框架。

I have been able to get my app working on windows 7 following the sample shown at http://msdn.microsoft.com/en-us/library/windows/desktop/bb688195(v=VS.85).aspx 按照http://msdn.microsoft.com/en-us/library/windows/desktop/bb688195(v=VS.85).aspx中显示的示例,我已经能够在Windows 7上运行我的应用程序。

My app has buttons in the titlebar area on the top left corner and tabs integrated with glass/window background.This works for vista and 7 but not on XP. 我的应用程序在左上角的标题栏区域具有按钮,并且选项卡与玻璃/窗口背景集成在一起。这适用于Vista和7,但不适用于XP。 Is it possible to implement this on XP ?? 有可能在XP上实现吗?

Office 2010 seems to still have the same look sans the glass effect when i turn off the Aero theme on win7. 当我在win7上禁用Aero主题时,Office 2010似乎仍然具有相同的外观,但没有玻璃效果。 How would i get this to happen in my app?? 我将如何在我的应用程序中发生这种情况?

Thanks, Abhinay 谢谢阿比奈

It is not possible to implement ribbon UI yourself on Windows XP since Windows XP does not contain an API for that purpose. 因为Windows XP不包含用于此目的的API,所以无法在Windows XP上自己实现功能区UI。 Apart from that the ribbon UI internally uses the undocumented NetUI (the class name of the ribbon window is NetUIHWND). 除此之外,功能区UI内部使用未记录的NetUI(功能区窗口的类名称为NetUIHWND)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM