📜  win 32 get window cize - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:51.201000             🧑  作者: Mango

代码示例1
RECT rect;
if(GetWindowRect(hwnd, &rect))
{
  int width = rect.right - rect.left;
  int height = rect.bottom - rect.top;
}