﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1365	Windows 2000: GUICtrlCreateLabel before GUICtrlCreateCombo prevent pulldown popup	Mulder		"This is a very old bug (3.1.1.127 own this bug too)

If ( a GUICtrlCreateLabel exists before GUICtrlCreateCombo ) AND ( the OS is windows 2000) Then
The popup window with all values is not displayed
Endif

On XPsp2 there is no such problem
Tested this with my W2ksp4 setup and a W2ksp4 VMmachine
Remove the GUICtrlCreateLabel before GUICtrlCreateCombo and it will work on W2k too

Testscript
will generate 2 GUICtrlCreateCombo but the second is coded after GUICtrlCreateLabel
(on GUI: first Label then Combo_1 and Combo_2)
and not working while the first one is.
Again:
On XPsp2 there is NO problem
On Windows 2000 sp4 (patched)
The Label is displayed
the Combo (item1....) is displayed AND working
the Combo (native|pentium""....) is displayed but NOT working (popup)



A work arround is to code all GUICtrlCreateLabel after any other GUI element.

---------------------------------------------------------
Opt(""GUIOnEventMode"", 1)

#include <GUIConstants.au3>

GUICreate(""My GUI combo"")  ; will create a dialog box that when displayed is centered


GUICtrlCreateCombo(""item1"", 20, 35) ; create first item
GUICtrlSetData(-1, ""item2|item3"", ""item3"") ; add other item snd set a new default

GUICtrlCreateLabel ( ""This is a test"", 10, 10 , 150, 20)
GUICtrlSetBkColor(-1, 0x00ff00)


GUICtrlCreateCombo( """", 20, 75, 150 )
GUICtrlSetData( -1, ""native|pentium|pentium3|pentium-m|pentium4|prescott|nocona|core2|athlon-xp|k8|k8-sse3|amdfam10"" )

GUISetState()

while 1
	sleep(5000)
wend
---------------------------------------------------------

"	Bug	closed		AutoIt	3.3.2.0	None	No Bug		
