List boxes and LB_SETITEMHEIGHT

BlitzPlus Forums/BlitzPlus Programming/List boxes and LB_SETITEMHEIGHT

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.

I want to set the item height of a listbox. Before I did that, I figured I would try getting the item height, to make sure I was doing it right. This code should work, but returns 0. The only thing I can think of is either I am using the wrong hwnd, and I need a different one from the gadget, or maybe BlitzPlus listboxes are actually windows listview controls:
Const LB_SETITEMHEIGHT			=	416
Const LB_GETITEMHEIGHT			=	417

win=CreateWindow("",200,200,400,300)
list=CreateListBox(0,0,100,100,win)
AddGadgetItem list,"test"

hwnd=QueryObject(list,1)
Notify SendMessage(hwnd,LB_GETITEMHEIGHT,0,0)