win32gui.GetWindowRect


检索指定窗口的边界矩形。

若窗口之前未显示,GetWindowRect 将不包含阴影区域。

摘      自: GetWindowRect 函数 (winuser.h)

另请参阅:

Basic Usage     Detailed Usage

Python

win32gui.GetWindowRect(hwnd)
			

C++

BOOL GetWindowRect(
  [in]  HWND   hWnd,
  [out] LPRECT lpRect
);
			

 

Copyright Notice: This article is an exclusive original manuscript, copyright belongs to Happy Digits Software , shall not be reproduced without permission.