Jump to content

GUICtrlCreateCombo under win98

Recommended Posts

Hello everybody

here's a part of my script :



If Not IsDeclared("Titre") Then Dim $Titre

GuiCreate("TITRE", 260, 120,(@DesktopWidth-260)/2, (@DesktopHeight-120)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)

$Titre = GUICtrlCreateCombo("", 70, 30, 120, 20)


$Valider = GUICtrlCreateButton("Valider", 70, 70, 120, 20)


While 1

$msg = GuiGetMsg()


Case $msg = $GUI_EVENT_CLOSE

Case $msg = $Valider

$Titre = GUICtrlRead($Titre)





My Problem :

Why does the combolist appear on a computer under win XP but not on a computer under win98 ?

My script was compiled on a computer under win XP ; is it the reason of this bug ?


Link to post
Share on other sites

read at the doc

Under Windows XP/2003 window will adapt the size of the opened combo. On other Windows versions you can defined this size with the "height" parameter if the default value is not BIG enough to contain at least one line.


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...