02-17-2011, 07:28 PM
Hi Gintaras,
I am running a dialog from exe on computers that are set to classic windows style buttons/themes. I was wondering if there was any way to apply a WindowsXP theme/style to a dialog (or perhaps other custom themes) that would run on these same computers. I think this would be via the manifest file. I tried adding a Windows XP manifest document that I found on the web (see below) but it didn't work. I think the buttons have to be flat and set to SYSTEM style but I couldn't figure out how to do that.
Any ideas?
Thanks,
STuart
I am running a dialog from exe on computers that are set to classic windows style buttons/themes. I was wondering if there was any way to apply a WindowsXP theme/style to a dialog (or perhaps other custom themes) that would run on these same computers. I think this would be via the manifest file. I tried adding a Windows XP manifest document that I found on the web (see below) but it didn't work. I think the buttons have to be flat and set to SYSTEM style but I couldn't figure out how to do that.
Any ideas?
Thanks,
STuart
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Courier New;}{\f1\froman\fcharset0 Times New Roman;}{\f2\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\sb100\sa100\f0\fs20 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <description>Windows forms common control manifest</description> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="x86" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly> </dependency> </assembly> \f1\fs24\par
\pard\f2\fs20\par
}