win32gui.SetForegroundWindow


激活指定窗口并将其设为当前。

摘      自: SetForegroundWindow 函数 (winuser.h)

另请参阅:

Basic Usage     Detailed Usage

Python

win32gui.SetForegroundWindow(hwnd)
			

C++

BOOL SetForegroundWindow(
  [in] HWND hWnd
);
			

 

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