ListBox is broken

BlitzPlus Forums/BlitzPlus Programming/ListBox is broken

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.