Dmitry Timoshkov 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 r
Dmitry Timoshkov writes:
> @@ -847,7 +847,8 @@ static void PB_Paint( HWND hwnd, HDC hDC, UINT action )
> if (state & (BUTTON_CHECKED | BUTTON_3STATE))
> uState |= DFCS_CHECKED;
>
> -DrawFrameControl( hDC, &rc, DFC_BUTTON, uState );
> +if (action == ODA_DRAWENTIRE)
> +