Edit control messages through Comctl32 v6 module

Nikolay Sivov bunglehead at gmail.com
Sun Dec 13 04:48:57 CST 2009


On 12/13/2009 13:08, Roderick Colenbrander wrote:
> On Sun, Dec 13, 2009 at 10:40 AM, Nikolay Sivov<bunglehead at gmail.com>  wrote:
>    
>> Hi.
>>
>> Yesterday I looked at XP introduced messages for Edit controls
>> (EM_SETCUEBANNER/EM_GETCUEBANNER).
>> This definitely doesn't work without v6 module loaded.
>>
>> Does someone have any idea how this supposed to work? Any comments are
>> welcome as usual.
>>
>> P.S. Yes, I know that comctl32 does subclass user32 control but only if
>> theming is active (I mean Wine behavior),
>> anyway this subclass procedure only cares about painting messages, control
>> specific messages require control
>> data manipulation, and this isn't a preferable of course.
>>
>>      
> > From what I understood comctl32 doesn't subclass user32 controls but
> it has its own implementations. Upon loading user32 calls
> RegisterClassNameW when a manifest is around to have comctl32 register
> the classes. Perhaps it is possible to verify this behavior using a
> test but I really believe no subclassing is performed.
So current theming code doesn't fit and all theme painting should be 
integrated in 'its own implementation'.
This is something new to me, but it's better to start to test it cause 
we know enough.

Also I'd like to invite Andre to this thread cause it wrote a test for 
that some months ago.

Andre, is it something wrong with tests, why patch wasn't accepted?
http://www.winehq.org/pipermail/wine-patches/2009-September/078869.html

> Alexandre said
> that if this is really the case we have to duplicate code at some
> point.
>    
Ok. Probably I missed that discussion.
> Roderick
>    




More information about the wine-devel mailing list