win32gui.SetForegroundWindow
激活指定窗口並將其設為當前。
摘 自: SetForegroundWindow 函數 (winuser.h)
另請參閱:
基本用法 詳細用法
Python
win32gui.SetForegroundWindow(hwnd)
C++
BOOL SetForegroundWindow( [in] HWND hWnd );
版權聲明: 本文為獨傢原創稿件,版權歸 樂數軟件 ,未經許可不得轉載。