Answers for "know the rect of a window"

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

Code answers related to "know the rect of a window"

Browse Popular Code Answers by Language