NadOo Posted December 21, 2006 Share Posted December 21, 2006 (edited) I have created a script to show a dropdownlist, it works fine on Windows XP, but when I run it on Windows 98, the items of the dropdownlist can't be shown, how can I correct it? Thanks! Here is my script: #include <GUIConstants.au3> #NoTrayIcon $Form1 = GUICreate("Test", 300, 343, 290, 197) Opt( "GUICloseOnESC" , 1 ) $lblDepartment = GUICtrlCreateLabel("Test:", 30, 110, 64, 17) $drpDepartment = GUICtrlCreateCombo("", 30, 125, 240, 25, $CBS_DROPDOWNLIST ) GUICtrlSetData(-1, "Item1|Item2|Item3|Item4") $btnCancel = GUICtrlCreateButton("Cancel", 120, 300, 60) $btnOK = GUICtrlCreateButton("OK", 210, 300, 60) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Select Case $nMsg = $btnOK ; MsgBox(0, "OK", "") ExitLoop Case $nMsg = $btnCancel ; MsgBox(262144, "Cancel", "") ExitLoop Case $nMsg = $GUI_EVENT_CLOSE ; MsgBox(262144, "Close", "") ExitLoop EndSelect WEnd Edited December 21, 2006 by NadOo Link to comment Share on other sites More sharing options...
randallc Posted December 21, 2006 Share Posted December 21, 2006 Hi, don't feel bad, it has puzzled many of us interminably despite being in the help file. See help file; on Win98 it says to specify the height. Best, randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
NadOo Posted December 21, 2006 Author Share Posted December 21, 2006 Hi,don't feel bad, it has puzzled many of us interminably despite being in the help file.See help file; on Win98 it says to specify the height.Best, randall :"> Thank You! Now I have seen it in the help file... Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted December 21, 2006 Share Posted December 21, 2006 Why do people still use WIN 98? Link to comment Share on other sites More sharing options...
Zedna Posted December 21, 2006 Share Posted December 21, 2006 Why do people still use WIN 98?I'm using it too - it's reality.Many computers are older and don't have too much memory. That's main reason.As I know for XP is good minimum 256 or 512 MB RAM. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now