﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2287	GUICtrlSetState($controlID, $GUI_ONTOP) Doesn't set on top	jmon	Jon	"GUICtrlSetState($controlID, $GUI_ONTOP) Doesn't set the control on top of others. This constant doesn't seem to do anything.
The problem has been tested and discussed here:[http://www.autoitscript.com/forum/topic/146182-solved-change-z-ordering-of-controls/#entry1034615]

Example:
{{{
#include <GUIConstantsEx.au3>

$GUI = GUICreate(""Test"", 800, 600)
GUISetState()

$LABEL1 = GUICtrlCreateLabel(""under"", 20, 20, 500, 300)
GUICtrlSetBkColor(-1, 0xFF0000)
$LABEL2 = GUICtrlCreateLabel(""above"", 40, 60, 500, 300)
GUICtrlSetBkColor(-1, 0x00FF00)

GUICtrlSetState($LABEL1, $GUI_ONTOP)

Do
Sleep(50)
Until GUIGetMsg() = -3
Exit
}}}"	Bug	closed	3.3.13.2	AutoIt	3.3.8.1	None	Fixed	z ordering	
