ListIconGadget() Scrolling
Posted: Fri Aug 12, 2005 10:51 am
				
				When I add strings to a ListViewgadget() and must ensure the last item is visible I use this code:
AddGadgetItem(3,-1,"Rx: "+String$)
SendMessage_(GadgetID(3), #LB_SETTOPINDEX, CountGadgetItems(3)-1, 0)
It does not work with a ListIconGadget(), probaly because the constant #LB_SETTOPINDEX is not right.
Please, can anyone help with the proper value?
Thanks
			AddGadgetItem(3,-1,"Rx: "+String$)
SendMessage_(GadgetID(3), #LB_SETTOPINDEX, CountGadgetItems(3)-1, 0)
It does not work with a ListIconGadget(), probaly because the constant #LB_SETTOPINDEX is not right.
Please, can anyone help with the proper value?
Thanks