TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Edwin Groothuis
from: Joerg-Stefan Sell
date: 1995-06-26 16:37:04
subject: Clearing a listbox fast.

Grá Dich, Edwin !

 > When trying to empty a rather large listbox by called
 > WinDeleteLboxItem() (or something...) it takes quite some time. Is 
 > there a way to clear the whole listbox at once?

WinSendMsg( lbHWnd, LM_DELETEALL, NULL, NULL);

Joerg-Stefan

--- Sqed/32 1.00/rc4/development
* Origin: Home of Sqed/32 (2:243/6425)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 243/6425 6000 24/999 2/777 105/42 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.