<p>I'm not sure how it will only use theming for version 6 without sxs. Will the control have to manually check the manifest?</p>
<p>I am a bit familiar with how to use the themes to draw controls and that shouldn't be an issue.</p>
<p>At the moment i'm more confused with this window class redirect thing. I've been trying to find someone who knows a bit about it. Without much luck.</p>
<div class="gmail_quote">On Mar 15, 2011 9:19 PM, "Nikolay Sivov" <<a href="mailto:bunglehead@gmail.com">bunglehead@gmail.com</a>> wrote:<br type="attribution">> On 3/15/2011 05:25, Frank Richter wrote:<br>
>> On 11.03.2011 10:28, Nikolay Sivov wrote:<br>>>> In version 6 all user32 controls are reimplemented with theme support in<br>>>> comctl32, while user32 classes are kept of course. This is done with<br>
>>> specific entries in comctl32 manifest, on load comctl32 all builtin<br>>>> classes are re-registered to the ones from comctl32. I definitely want<br>>>> to see some solution for that, having themed comctl32 controls while<br>
>>> scrollbars and buttons are drawn with default appearance makes theme<br>>>> support kind of useless.<br>>> Buttons: technically, I don't think you need SxS class redirection for<br>>> that. The issue with the current �subclassing� is that, well, the button<br>
>> can't really be subclassed for theming - IIRC some state changes don't<br>>> trigger a �paint� message but only cause internal painting - this can't<br>>> be caught lass function and breaks theming.<br>
>> What MS supposedly did was to simply copy'n'paste the controls code into<br>>> comctl32 and add theming. That would certainly allow properly themed<br>>> buttons. And SxS class redirection...<br>
> We need a way to make comctl32 controls available, not always but only <br>> when it's requested to use version 6.<br>> Native does that with class redirection.<br>> <br>> I'm not sure it's ok to use comctl32 always for builtin classes.<br>
>> Scroll bars, are, IIRC, a different beast - window scroll bars are not<br>>> controls but handled/drawn by DefWndProc. No idea how native themes<br>>> these. Maybe some mojo to override/hook into DefWndProc?<br>
> That's not true. Scrollbar could be a normal control too. I have no idea <br>> how themes work with window scrollbars though.<br>>> -f.r.<br>>><br>>><br>>><br>>><br>> <br></div>