Thanks for the detailed info! Definitely will check it out!<br><br><div class="gmail_quote">On Tue, May 15, 2012 at 10:38 PM, Andrej Mitrovic <span dir="ltr"><<a href="mailto:andrej.mitrovich@gmail.com" target="_blank">andrej.mitrovich@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 5/15/12, Gor Gyolchanyan <<a href="mailto:gor.f.gyolchanyan@gmail.com">gor.f.gyolchanyan@gmail.com</a>> wrote:<br>

> But what do windows resources have to do with the manifests?<br>
<br>
</div>You use a resource file to load a manifest into the executable. There<br>
are a couple of examples here:<br>
<br>
<a href="https://github.com/AndrejMitrovic/DWinProgramming/tree/master/Samples/Extra/VisualStyles" target="_blank">https://github.com/AndrejMitrovic/DWinProgramming/tree/master/Samples/Extra/VisualStyles</a><br>
<a href="https://github.com/AndrejMitrovic/DWinProgramming/tree/master/Samples/Extra/VisualStyles2" target="_blank">https://github.com/AndrejMitrovic/DWinProgramming/tree/master/Samples/Extra/VisualStyles2</a><br>
<a href="https://github.com/AndrejMitrovic/DWinProgramming/tree/master/Samples/Extra/ThemedSimpleWakeUp" target="_blank">https://github.com/AndrejMitrovic/DWinProgramming/tree/master/Samples/Extra/ThemedSimpleWakeUp</a><br>

<a href="https://github.com/AndrejMitrovic/DWinProgramming/tree/master/Samples/Extra/ThemedWakeUp" target="_blank">https://github.com/AndrejMitrovic/DWinProgramming/tree/master/Samples/Extra/ThemedWakeUp</a><br>
<br>
enable-theme.xml is the manifest, and resource.rc just references this<br>
xml file. The resource file is compiled into a .res file, and this<br>
file is then passed directly to DMD.<br>
<br>
For your own purposes try to just take the .rc/.res/.xml files, pass<br>
.res to dmd when compiling your app and see if the visual styles work<br>
for you.<br>
<br>
The last example loads the manifest dynamically, based on a sample<br>
from the DFL library.<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Bye,<br>Gor Gyolchanyan.<br>