﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
711	Combobox functions does not work properly or even at all, on Windows 2000 & NT 4.0	crzmeister@…		"Hello,

I'll refer to two different combobox functions which malfunction on Windows 2000 (sp4 2195) and NT 4 (sp6a).

First one is: _GUICtrlComboBoxEx_Create

and probably derivatives (i mean same type of functions). When compiled to run on the above mentioned OSes, the script/exe throws an error on start ""Error: _WinAPI_CreateWindowEx: Cannot find window class.""

This *does not* happen on Windows XP or 2003.

I found it through my own scripts, but you can reproduce it if you compile the example script under the _GUICtrlComboBoxEx_Create section of AutoIT's .chm help file. and run in on the reported OSes.

Second one is: (the regular) GUICtrlCreateCombo. 

Again problem is on Windows 2000 (2195). I was not able to test on NT 4.0 . Here follows example code:

{{{

#include <GuiConstantsEx.au3>

Opt('MustDeclareVars', 1)

_Main()

Func _Main()
	Local $msg, $hGUI, $combobox
	
	$hGUI = GUICreate(""Title"", 250, 173)
	GUICtrlCreateLabel(""Label that bugs the app on Win2k:"", 2, 3)
	$combobox = GUICtrlCreateCombo(""1"", 2, 20, 244)
	GUICtrlSetData($combobox, ""2|3|4|5"")
	GUISetState()
		While 1
        $msg = GUIGetMsg()
        Switch $msg
            Case $GUI_EVENT_CLOSE
                ExitLoop			
			EndSwitch
		WEnd
		
EndFunc


}}}


What it does is that the combobox does not drop down at all. If I will comment the line to create label (;GUICtrlCreateLabel(""Label:"", 2, 3)), it works as expected on XP/2003 and 2000.


"	Bug	closed		AutoIt	3.2.12.1	None	No Bug		
