win32gui.SetWindowLong


更改指定窗口的属性。

SetWindowLong 还将 32 位 Long 值设为额外窗口内存的指定偏移。

摘      自: SetWindowLong 函数 (winuser.h)

另请参阅: win32gui.GetWindowLong

Basic Usage     Detailed Usage

Python

win32gui.SetWindowLong(hWnd, 0, 0, 0, 1920, 1080, 0)
			

C++

BOOL SetWindowLong(
  [in]           HWND hWnd,
  [in, optional] HWND hWndInsertAfter,
  [in]           int  X,
  [in]           int  Y,
  [in]           int  cx,
  [in]           int  cy,
  [in]           UINT uFlags
);
			

 

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