[Bug 39637] Samsung TV SDK 3.5.2 (MFC MDI app) crashes on startup

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 23 00:58:31 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=39637

--- Comment #4 from Dmitry Timoshkov <dmitry at baikal.ru> ---
(In reply to Dmitry Timoshkov from comment #3)
> Created attachment 52856 [details]
> Add CS_GLOBALCLASS to "Button" user32 class
> 
> The problem is that "MFCButton" window class is based on "Button" user32
> class,
> and the application does GetClassInfo("Button") first and uses returned data
> as a template, including the class style. Currenly user32 control's classes
> are missing the CS_GLOBALCLASS bit. Adding CS_GLOBALCLASS to "Button" user32
> class makes the application start.

There are already the tests showing that GetClassInfo() for user32 classes
should not set CS_GLOBALCLASS bit. But the application wraps GetClassInfo()
call by ActivateActCtx()/DeactivateActCtx(), probably that makes it behave
differently.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list