16,471
社区成员
发帖
与我相关
我的任务
分享
case WM_PAINT:
{
hdc = BeginPaint(hWnd, &ps);
// TODO: Add any drawing code here...
HBRUSH hr = (HBRUSH)SelectObject(hdc, GetStockObject(NULL_BRUSH));
RoundRect(hdc, 100, 100, 400, 400, 10, 10);
SelectObject(hdc, hr);
EndPaint(hWnd, &ps);
}
break;