Image List tests for comctl32 v6

André Hentschel nerv at dawncrow.de
Fri Oct 2 05:47:57 CDT 2009


Nikolay Sivov schrieb:
> Joel Holdsworth wrote:
>> Hi All,
>>
>> I'm working on some tests to demonstrate some alpha-channel behaviour in
>> comctl32 ImageLists. The problem is that this behaviour is only present
>> in comctl32 v6, which of course you usually activate with an xml
>> manifest. For the wine test suite we have a helper function,
>> load_v6_module, that dynamically creates a manifest resource entry in
>> the module, which seems to activate v6 behaviour. However, while this
>> seems to activate v6 behaviour for controls, it seems not to for image
>> lists - my tests work if I link a manifest into the test suite, but
>> don't work via load_v6_module.
>>
>> Does anyone have any thoughts about what might be going on here, and
>> what I should do with my tests?
>>
>> Thanks
>> Joel   
> Hi, Joel.
> 
> It works for precreated manifest as a separate file (not compiled in),
> isn't it? If so you could do a trick that
> I spotted here
> http://www.winehq.org/pipermail/wine-patches/2009-September/078869.html
> for a first time -
> here another process is created after main test binary loaded, it's
> created for exactly the same binary but with
> a manifest created first (command line parameter passed to jump to V6
> tests).
> 
> Hope this helps.
> 
> 
> 
Yes, you can use hat way. I needed it as i got some different behaviours between XP-SP2, XP-SP3 and win7. SP2 and win7 behaved the same, while SP3 seemed to ignore the v6utils.

-- 

Best Regards, André Hentschel



More information about the wine-devel mailing list