TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Edwin Groothuis
from: Johan Siegers
date: 1995-06-27 15:35:46
subject: Clearing a listbox fast.

Hi Edwin,

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

WinSendDlgItemMsg( hwnd,LISTBOX_ID,
LM_DELETEALL,(MPARAM)LIT_END,(MPARAM)"" );

Bye, Johan.

--- The-Box Point 0.15+ PC
* Origin: johan{at}bitbike.iaf.nl - CIS: 100120,2502 (2:283/512.16)
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: 283/512 396/1 270/101 105/103 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™.