I’m updating a VS6 MFC dialog application to VS2008. Updating the code has been easy, but the dialog still has the old fashioned VS6 appearance to it. For example, the Group Boxes have square edges and are dark grey. Instead of the rounded corners and light grey of a VS2008 application Group Box.
How can I force my application to use the more modern appearance of VS2008 MFC dialog applications?
A new MFC project will add the following to stdafx.h:
I also add the following to my projects to explictedly link to the UXTHEME.LIB which sub-classes basic controls to add theme support: