Answers for "get rect of all windows win api"

1

win 32 get window cize

RECT rect;
if(GetWindowRect(hwnd, &rect))
{
  int width = rect.right - rect.left;
  int height = rect.bottom - rect.top;
}
Posted by: Guest on October-03-2020

Browse Popular Code Answers by Language