Kann mir bitte mal jemand erklären, wieso das AutoIt Info Tool eine andere Größe anzeigt, als die Funktion WinGetPos()?
AutoIt
;-- TIME_STAMP 2018-07-17 17:23:54 v 0.1
#include <GUIConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <Array.au3>
_Example()
Func _Example()
#Region - GUI Create
Local $hWnd = GUICreate('WinPos')
Local $idLabel_WP = GUICtrlCreateLabel('', 10, 100, 300, 30)
GUICtrlSetFont(-1, 14, 800)
GUISetState()
#EndRegion
Local $aWinPos = WinGetPos($hWnd)
GUICtrlSetData($idLabel_WP, '$aWinPos = ' & _ArrayToString($aWinPos, ', '))
#Region - GUI SwitchLoop
While True
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
#EndRegion
EndFunc ;==>_Example
Alles anzeigen