October 30, 2025, 12:58:43 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Clearing a Listbox

Started by Brian, April 14, 2012, 05:35:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brian

Hello,

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

Thanks,

Brian

LarryMc

CONST LB_RESETCONTENT = 0x184
SendMessage(win,LB_RESETCONTENT,0,0,LV1)


LarryMc
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Brian

Ta muchly - fitted and working!

Brian