功能包:主题模式对话框 [英] Feature pack: theme modal dialog

查看:83
本文介绍了功能包:主题模式对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如何使用Visual Styles Manager(来自MFC功能包的CMFCVisualManager)在MFC应用程序中创建模态对话框,其显示方式与主应用程序窗口相同?模态对话框的标题显示在普通的Windows主题中,而不是我使用样式管理器选择的主题。谢谢。

Hi,

How can I make modal dialogs in MFC applications with the Visual Styles Manager (CMFCVisualManager from the MFC feature pack) show in the same themed style as the main application window? The caption of modal dialogs is shown in the normal windows theme, not the theme I've selected with the Styles Manager. Thanks.

推荐答案

我也想知道这是一些紧迫感。我们有一个MFC应用程序(SDI),我们将使用新的MFC功能移植到2008年。由于应用程序有15个左右的对话框(CDialogEx),所有使用系统主题而不是应用程序主题,它看起来很垃圾! :(

是否有另一个CMFCxxx类我们应该派生而不是CDialogEx?

谢谢。
I would also like to know this as some urgency. We have an MFC application (SDI) we are porting over to 2008 with the new MFC features. Since the application has 15 or so dialogs (CDialogEx) all using the systems theme not the applications theme, it looks rubbish! :(

Is there another CMFCxxx class we should derive from instead of a CDialogEx?

Thanks.


这篇关于功能包:主题模式对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆