ListBox is broken

BlitzPlus Forums/BlitzPlus Programming/ListBox is broken

ListBox does not return an event when an arrow key is pressed to change the selection. It won't even return the selected item correctly if an arrow key is pressed.

this was reported a year ago :-)

I even tried this to get the selected item, but it doesn't look like QueryObject() is returning the right handle:

LB_GETCURSEL=392
lbSel=SendMessage(QueryObject(listbox,1),LB_GETCURSEL,0,0)
lbSel=SendMessage(QueryObject(listbox,2),LB_GETCURSEL,0,0)

In both cases, 0 is returned, no matter the ListBox selection.