Answers for "win 32 get window pos"

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