"Clinton Stimpson" <cjstimpson(a)utwire.net> 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.