Delphi - Windows Aero 资源
有人有关于 7 或 Vista 上的 Delphi 和 Windows Aero 的好资源吗?
我们即将将 Windows 7 添加到我们的公司,并希望确保我们的内部应用程序尽可能适应。
使用 Delphi 2010,我可以添加玻璃框架,菜单栏继承了 Aero 外观,但是选项卡控件、网格和状态栏都显得过时了。
有什么帮助吗?
Anyone have any good resources for Delphi and Windows Aero on 7 or Vista?
We're just about to add Windows 7 to our company and want to make sure that our in-house applications use fit in as well as possible.
Using Delphi 2010 I can add the Glass Frame and the menu bar inherits an Aero look, however the TabControls, Grids and Status bars all stick out as being outdated.
Any help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我们包含我们自己的清单资源,因为据我所知,Delphi 不包含 Windows 7(和 Vista?)的新清单添加。在 http://msdn.microsoft.com/en 的帮助下-us/library/dd371711(VS.85).aspx 和 此处 和此处:
创建文件使用单行“mymanifest.rc”
并创建一个名为 my.manifest 的文件,如下所示,
然后将 mymanifest.rc 添加到您的项目中并关闭“启用运行时主题”选项,因为这会执行相同的操作(但不太灵活)。可以更改“requestedExecutionLevel”部分以满足应用程序的 UAC 需求。
为我们工作。
We include our own manifest resource because, as far as I am aware, Delphi doesn't include the new manifest additions for Windows 7 (and Vista?). With help from http://msdn.microsoft.com/en-us/library/dd371711(VS.85).aspx and here and here:
Create a file "mymanifest.rc" with the single line
and create a file as below called my.manifest
Then add the mymanifest.rc to your project and turn off the 'enable runtime themes' option as this does the same thing (but less flexible). The 'requestedExecutionLevel' section can be altered to suit the UAC needs of the app.
Works for us.
我同意使用“启用运行时主题”项目选项应该使大多数控件能够感知主题。
TMS 组件始终更新以包含最新主题,包括 Windows 7 和 Raize 组件 允许您使用透明度、渐变和主题感知颜色。
I agree that using the Enable Runtime Themes project option should make most controls theme-aware.
TMS Components are always being updated to include the latest themes, including Windows 7, and Raize Components allow you to make use of transparency, gradients and theme-aware colours.
只需将单元
XPMan
添加到Uses
列表即可。Just add the unit
XPMan
to theUses
list.