![]() |
Listview 11.2 load data slow |
Post Reply
|
| Author | |
BCSVR
Groupie
Joined: 04 June 2005 Status: Offline Points: 25 |
Post Options
Thanks(0)
Quote Reply
Topic: Listview 11.2 load data slowPosted: 20 September 2007 at 4:38am |
|
Listview very slow to load data, and ms listview comparison, the efficiency of its 1 / 2 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 September 2007 at 1:54am |
|
Hello,
You are right, thanks, we will check what can be done.
If you populate data in some loop you can send WM_SETREDRAW message to stop redrawing on each step. It can increase perfomance:
Const WM_SETREDRAW = &HB SendMessage ListView1.hwnd, WM_SETREDRAW, 0, 0
For i = 1 To 10000 ListView1.ListItems.Add , , Item & i Next SendMessage ListView1.hwnd, WM_SETREDRAW, 1, 0 |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |