IonicWind Software

IWBasic => General Questions => Topic started by: Brian on April 14, 2012, 05:35:46 AM

Title: Clearing a Listbox
Post by: Brian on April 14, 2012, 05:35:46 AM
Hello,

Any idea of how to clear a Listbox of all lines, before refilling it again?

Thanks,

Brian
Title: Re: Clearing a Listbox
Post by: LarryMc on April 14, 2012, 06:57:39 AM
CONST LB_RESETCONTENT = 0x184
SendMessage(win,LB_RESETCONTENT,0,0,LV1)


LarryMc
Title: Re: Clearing a Listbox
Post by: Brian on April 14, 2012, 10:02:14 AM
Ta muchly - fitted and working!

Brian