Visual Styles within Dialog Based MFC Applications?
The MFC Application Wizard disables visual styles for dialog based applications.
- But why?
- Regardless of the wizard, can I still use the vi开发者_运维知识库sual styles in my dialog based application (it includes toolbar and menubar)?
Thank you!
I think there's a little confusion here.
The greyed out drop-down is title "Visual Styles and colors" in my English version of VS2008. Being greyed out means that you can't modify its value, but it still reports that the resulting app will use "Windows Native/Default". When you go on and create the app and run it, themes are fully supported.
For the other application type options (single document, multiple document, multiple top-level documents), and select other non-system themes. The list is: Office 2003, VS 2005, Office 2007 of various different colors.
So whilst you don't get these non-standard Office themes, your app will have visual styles and themes as determined by the Windows settings.
精彩评论