XP style
-
Some dialogs have new Windows XP style - I maen buttons are not only simple grey rectangle but they look better. (as draw) or combo box has selection button as blue rect and so on. But when I am creating my dialog based applications (in VC++ 7.1) it still looks as Windows 98 or so on even they run under Windows XP. Is here any way how to turn of this style for my application? Thank you Viliam viliam
-
Some dialogs have new Windows XP style - I maen buttons are not only simple grey rectangle but they look better. (as draw) or combo box has selection button as blue rect and so on. But when I am creating my dialog based applications (in VC++ 7.1) it still looks as Windows 98 or so on even they run under Windows XP. Is here any way how to turn of this style for my application? Thank you Viliam viliam
I assmume that what you are asking is how to enable Windows XP Visual Styles for your application, so that you dialog window is drawn in the current theme. You will need to add a Common Controls Manifest to your application, this is a script written in XML that forces your application to use version 6.00 of the ComCtl32.dll to draw the controls and non-client areas of your windows. This manifest can be embedded in your exe file's resources, or you can place it in the same directory as your exe file and give it the same name as your exe file with .manifest appended to the end. For example, if your exe is called MyApp.exe then you would call you manifest file MyApp.exe.manifest. Click here[^] for further information. Hope this helps, Chris