FindWindow

hwnd = Base.FindWindow(class,title)

查找一个窗口,返回int类型句柄

参数
ID 名称 类型及说明
1 class [string]窗口类名
2 title [string]窗口标题
返回值
ID 名称 类型及说明
1 hwnd [int]句柄,失败返回0
例子
Base.FindWindow("QQ","QQ")

results matching ""

    No results matching ""