﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2935	GUIGetCursorInfo behavior in Windows 8	corz		"
{{{

; Under Windows 7, moving the mouse into the input will expand the input to full size
; Exactly the same thing happens in Windows 8.
; Under Windows 7, if I move the mouse along the input, it remains full size and active all the way
; to the end. enabling the user to interact with it, edit, copy, paste, etc..
; Under Windows 8, as soon as I move the mouse over the control /under/ the right hand side of the input
; (the checkbox), the input immediately shrinks back and the checkbox is brought to the front.
;
; The old behaviour is correct.


#include <GUIConstantsEx.au3>

Example()

Func Example()

    ; Create a GUI with various controls.
    local $hGUI = GUICreate(""Example"", 250, 50)

	local $some_other_control = GUICtrlCreateCheckBox(""a checkbox.."", 115, 10)
	local $some_input = GUICtrlCreateInput(""text here"", 10, 10, 200)

    ; Display the GUI.
    GUISetState(@SW_SHOW, $hGUI)

    while 1

		$mouse_pos = GUIGetCursorInfo ($hGUI)
		if IsArray($mouse_pos) and $mouse_pos[4] = $some_input then
			ControlMove ($hGUI, ""Example"", $some_input, default, default, 200)
		else
			ControlMove ($hGUI, ""Example"", $some_input, default, default, 100)
		endif


        switch GUIGetMsg()
            Case $GUI_EVENT_CLOSE
                exitloop

        endswitch
    wend

    GUIDelete($hGUI)
endfunc


}}}
"	Bug	closed		AutoIt	3.3.13.19	None	No Bug		
