Modify ↓
#451 closed Bug (No Bug)
GUICtrlCreateCombo don't show items on Windows 2000
| Reported by: | Tlem | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | 3.2.12.0 | Severity: | None |
| Keywords: | Cc: |
Description
This simple code don't work on Windows 2000.
The only think I can see, is à black line under the combo, but not the list of items ...
#include <ComboConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 190, 60, -1, -1)
$Combo1 = GUICtrlCreateCombo("", 16, 16, 145, 25)
GUICtrlSetData(-1, "Line_1|Line_2|Line_3")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Attachments (0)
Change History (4)
comment:1 by , 18 years ago
comment:4 by , 18 years ago
All done.
I'm really confused to have created a ticket for that.
I'll try this script on XP and Vista before and it was working !
I never imagine that on Win2000 it was so simple.
So one more time, excuse me. :(
Note:
See TracTickets
for help on using tickets.

Pretty sure this has always been like this and you have to change this line to:
$Combo1 = GUICtrlCreateCombo("", 16, 16, 145, 80)
Jos