-
February 11th, 2011, 08:53 PM
#1
[RESOLVED] [C++] Win32 API Using Themes
How do I use themes with win32? I tried doing some research on the matter, and found that supposedly, if I add:
Code:
<?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="[ProgramName]"
type="win32"
/>
<description>Checks to see whether a message will fit on a chageable sign</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
And
Code:
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "[ProgramName].manifest"
into my program, then it should make the themes work. However, it did not work for me, and if I don't comment out the CREATEPROCESS line, then I get errors in the program.
Can anybody point me in the right direction to getting this to work?
Thanks!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|