﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2706	error in  $tagWINDOWINFO	anonymous	Jpm	"didn't find in bugtracker... so - error in:

{{{
Global Const $tagWINDOWINFO = 'dword Size;dword rWindow[4];dword rClient[4];dword Style;dword ExStyle;dword WindowStatus;uint cxWindowBorders;uint cyWindowBorders;ushort atomWindowType;ushort CreatorVersion;'
}}}

rWindow & rClient must be not dword, but long. see :
[http://msdn.microsoft.com/en-us/library/windows/desktop/dd162897(v=vs.85).aspx]
[http://msdn.microsoft.com/en-us/library/windows/desktop/ms632610(v=vs.85).aspx]

Left и Top must be -8 & -8, and not 4294967288 и 4294967288

{{{
#include <WinAPIEx.au3>

Opt('MustDeclareVars', 1)

Global $hWnd = WinGetHandle('[Title:WinAPIEx UDF Help; Class:HH Parent]')
If Not $hWnd Then Exit 13
If Not BitAND(WinGetState($hWnd), 32) Then WinSetState($hWnd, '', @SW_MAXIMIZE)
Global $tWINDOWINFO = _WinAPI_GetWindowInfo($hWnd)
Global $aSize = WinGetPos($hWnd)

ConsoleWrite('Left:   ' & $aSize[0] & @LF)
ConsoleWrite('Top:    ' & $aSize[1] & @LF)
ConsoleWrite('---' & @LF)
ConsoleWrite('Left:   ' & DllStructGetData($tWINDOWINFO, 'rWindow', 1) & @CR)
ConsoleWrite('Top:    ' & DllStructGetData($tWINDOWINFO, 'rWindow', 2) & @CR)
ConsoleWrite('Right:  ' & DllStructGetData($tWINDOWINFO, 'rWindow', 3) & @CR)
ConsoleWrite('Bottom: ' & DllStructGetData($tWINDOWINFO, 'rWindow', 4) & @CR)
}}}
"	Bug	closed	3.3.11.6	AutoIt	Other	None	Fixed		
