On Sun, Dec 13, 2009 at 10:40 AM, Nikolay Sivov bunglehead@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. Alexandre said that if this is really the case we have to duplicate code at some point.
Roderick