WM_PAINT(wParam=HDC) case. Instead, use GetClientRect() for a bounding rect.
Attach a file by drag & drop or click to upload