Hi,
I am trying to get buttons in my solution to display in 'XP style'. My PC is running Windows 2000 and I thought I could do the following:
1. Create a manifest file, a bit like this, calling it <Appname>.exe.manifest:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="<appName>"
type="win32"
/>
<description>Your app description here</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
2. Add UxTheme.dll into my project as an embedded resource
3. Set all my button styles to 'System'.
However, I am just getting the standard button faces. This is all a bit new to me so is there something obvious that I am missing?
Thanks
Pete
I am trying to get buttons in my solution to display in 'XP style'. My PC is running Windows 2000 and I thought I could do the following:
1. Create a manifest file, a bit like this, calling it <Appname>.exe.manifest:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="<appName>"
type="win32"
/>
<description>Your app description here</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
2. Add UxTheme.dll into my project as an embedded resource
3. Set all my button styles to 'System'.
However, I am just getting the standard button faces. This is all a bit new to me so is there something obvious that I am missing?
Thanks
Pete