rect = { 0, WindowHeight - 45, WindowWidth, WindowHeight };
FillRect(hdc, &rect, LightGrayBrush);
SelectObject(hdc, oldFont);
SelectObject(hdcMem, oldBitmap);
DeleteDC(hdcMem);
EndPaint(hwnd, &ps);
}
break;
caseWM_COMMAND:
if (lParam == (LPARAM)CloseButton)
{
DestroyWindow(hwnd);
}
elseif (lParam == (LPARAM)HelpButton)
{
MessageBoxW(hwnd, L"CPU usage is hidden by r77. To see the effect, increase CPU usage of this process.\n\nThis process is running with idle priority to not interrupt other tasks.", L"Help", MB_OK | MB_ICONINFORMATION);