GetActiveWindow()

语法

WindowNumber = GetActiveWindow()
概要
Returns the number of the window which currently has the keyboard focus or -1 if no window is active.

参数

无.

返回值

The number of the window which currently has the keyboard focus or -1 if no window is active.

Remarks

A window can be activated (set the focus on it) with the SetActiveWindow() function.

参阅

SetActiveWindow()

已支持操作系统

所有

<- EventwParam() - Window Index - GetWindowColor() ->