Jump to content

Recommended Posts

Posted

Yes. You search for it. And then you find this:

Global Const $CBS_DROPDOWNLIST = 0x0003

$gui = GUICreate("Example", 400, 50)
$combo = GUICtrlCreateCombo("Jon", 10, 10, 380, 25, $CBS_DROPDOWNLIST)
GUICtrlSetData (-1, "JPM|Jos|Valik")

GUISetState ()

While 1
    $nMsg = GUIGetMsg ()
    Switch $nMsg
        Case -3;Exit
            Exit
    EndSwitch
WEnd
Posted (edited)

Thanks very much!

Sorry for not finding it in the help file if it was there - don't think I didn't try.

Edited by Edifice

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
×
×
  • Create New...