"Clinton Stimpson" <[EMAIL PROTECTED]> wrote:

-        if (lParam) paint_button( hWnd, btn_type, ODA_DRAWENTIRE );
+        if (LOWORD(lParam)) InvalidateRect(hWnd, NULL, TRUE);

Your test doesn't show that the usage of LOWORD(lParam) is justified.

--
Dmitry.


Reply via email to