[Bug 40390] When using a UX theme, owner-drawn buttons don' t draw until you click them once

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 2 16:21:08 CST 2017


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

--- Comment #2 from ryampolsky at yahoo.com ---
> 
>       SetWindowTheme(GetDlgItem(hDlg, <button_id>), L" ", L" ");
> 

Just to be clear, the SetWindowTheme call to disable theming on owner-drawn
buttons is not needed on Windows itself.  The program runs fine on all versions
of Windows I've tested it on, and my owner-drawn buttons work with mouse-over
support, etc.  But under WINE - I've tried it with the latest releases - on
both Linux and MacOS, owner-drawn buttons only work if desktop theme
integration is not configured or if I specifically disable theming on each
owner-drawn button.

-- 
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