ComboBox - Set to 'open' sate ?

BlitzMax Forums/BlitzMax Programming/ComboBox - Set to 'open' sate ?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

SuperStrict

Import PUB.Win32

Global win:tgadget=CreateWindow("temp",200,200,400,300,Null)

Global cb:tgadget=CreateComboBox(10,25,130,20,win)
AddGadgetItem cb,"test abcd"
AddGadgetItem cb,"test zyxwv"
SelectGadgetItem cb,0
'ActivateGadget cb
SendmessageA(QueryGadget(cb,QUERY_HWND),CB_SHOWDROPDOWN,True,0)


Repeat
	Select WaitEvent()
		Case EVENT_WINDOWCLOSE
		Exit
	End Select
Forever


This works...SendMessageA is already defined in PUB.Win32, along with CB_SHOWDROPDOWN.