468,275 Members | 1,840 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,275 developers. It's quick & easy.

No XP style dialogs after porting to VC8

3
Hello!

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.

Thanks.
Nov 21 '06 #1
1 1199
sivadhas2006
142 100+
Hi,

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

Expand|Select|Wrap|Line Numbers
  1.  
  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="1.0.0.0"
  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="6.0.0.0"
  18.             processorArchitecture="X86"
  19.             publicKeyToken="6595b64144ccf1df"
  20.             language="*"
  21.         />
  22.     </dependentAssembly>
  23. </dependency>
  24. </assembly>
  25.  
  26.  
You need to add this text as custom.
And change the custom folder name as 24.

Regards,
M.Sivadhas.
Nov 22 '06 #2

Post your reply

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

Similar topics

4 posts views Thread by Chris Travers | last post: by
reply views Thread by Tony Johansson | last post: by
4 posts views Thread by Ben Coats | last post: by
5 posts views Thread by 2b|!2b==? | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.