Funktionsreferenz

ControlGetPos

Retrieves the position and size of a control relative to it's window.

ControlGetPos ( "title", "text", controlID )

 

Parameter

title The title of the window to access.
text The text of the window to access.
controlID The control to interact with. See Controls.

 

Bemerkungen

Keine.

 

Siehe auch

ControlCommand, ControlMove, WinMove

 

Beispiel


$pos = ControlGetPos("Untitled - Notepad", "", "Edit1")
MsgBox(0, "Window Stats:", "POS: " & $pos[0] & "," & $pos[1] & " SIZE: " & $pos[2] & "," & $pos[3] )