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.

Kev,
Do you know the correct value for CB_SHOWDROPDOWN ?
I can't get the combobox to drop ..

Example:
SuperStrict

Extern "Win32"
	Function SendMessageA(hwnd%,wMsg%,wParam%,lParam%)
End Extern


Const WM_USER%=$400

Const CB_SHOWDROPDOWN%=$14
'Const CB_SHOWDROPDOWN%=WM_USER+15


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