user32: Draw the whole button only if requested. Take 2.

Alexandre Julliard julliard at winehq.org
Thu Jul 23 04:31:22 CDT 2009


Dmitry Timoshkov <dmitry at codeweavers.com> writes:

> The application I'm working on relies on this, it doesn't expect that
> button completely redraws itself on WM_SETFOCUS/WM_KILLFOCUS messages.
>
> This version of the patch skips the button drawing in the case
> of action == ODA_FOCUS.

You then need to draw the focus rect unconditionally for ODA_FOCUS.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list