欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

基 礎(chǔ) 函 數(shù) 參 考


ControlGetPos

獲取控件相對(duì)其窗口的坐標(biāo)位置和大小.

ControlGetPos ( "標(biāo)題", "文本", 控件ID )

參 數(shù)

標(biāo)題 目標(biāo)窗口標(biāo)題.
文本 目標(biāo)窗口文本.
控件ID 控件標(biāo)識(shí)符. 相關(guān)說(shuō)明見(jiàn) Controls.

返 回 值

成功: 返回控件相對(duì)其窗口位置及大小的數(shù)組:
$array[0] = X 坐標(biāo)
$array[1] = Y 坐標(biāo)
$array[2] = 寬度
$array[3] = 高度
失敗: 設(shè)置 @error 為 1.

備 注

窗口標(biāo)題/文本會(huì)涉及到父窗口及可能不包含控件 ID 的活動(dòng)窗口,請(qǐng)小心使用定義參數(shù).

相 關(guān) 函 數(shù)

ControlCommand, ControlMove

函 數(shù) 示 例


Run("notepad.exe")
WinWaitActive("[CLASS:Notepad]","")
Local $pos = ControlGetPos("[CLASS:Notepad]", "", "Edit1")
MsgBox(0, "窗口統(tǒng)計(jì):", "坐標(biāo): " & $pos[0] & "," & $pos[1] & " 大小: " & $pos[2] & "," & $pos[3])

provider with jb51.net (unicode)