By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,834 Members | 1,680 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,834 IT Pros & Developers. It's quick & easy.

No XP style dialogs after porting to VC8

P: 3

I recently ported my project from VC6 to VC8. But while executing them I found that dialogs have not changed to XP style. These dialogs are being shown with same WIN98 style.

However in an editor, dialogs are being shown with XP style only. Is there anything I need to do to get XP style dialogs.

Nov 21 '06 #1
Share this Question
Share on Google+
1 Reply

P: 142

You need to modify the resource file of the executable file.

Expand|Select|Wrap|Line Numbers
  2. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  3. <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  4. <assemblyIdentity
  5.     version=""
  6.     processorArchitecture="X86"
  7.     name="win32 application"
  8.     type="win32"
  9. />
  10. <description>WindowsExecutable</description>
  11. <file name="gdiplus.dll"/>
  12. <dependency>
  13.     <dependentAssembly>
  14.         <assemblyIdentity
  15.             type="win32"
  16.             name="Microsoft.Windows.Common-Controls"
  17.             version=""
  18.             processorArchitecture="X86"
  19.             publicKeyToken="6595b64144ccf1df"
  20.             language="*"
  21.         />
  22.     </dependentAssembly>
  23. </dependency>
  24. </assembly>
You need to add this text as custom.
And change the custom folder name as 24.

Nov 22 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.