I have an MFC application that has used XP look for many years (previously built with VS23003 and MFC7). When rebuilt with MFC9 (and MFC10) it reverts to old (W2K) look. Ie, the buttons are an ugly grey with square corners, and there is no mouse over highlighting of buttons, tabs etc.
I have spent a huge amount of time researching this to no avail. And yes, I have included the manifest (tried both as resource and separate .exe.manifest file). I have also tried many other things to numerous to list.
Its obvious it can work as the samples show the correct look. However, I have tried many approaches but it is very difficult to isolate what is causing the problem. I have tried selectively removing parts of the program but the problem still happens (until I remove so much that it is impossible to get it to compile and run).
There must be a way to find out why the "XP look" is not being applied but I have yet to find any information from MS or elsewhere that documents what is happening behind the scenes.