Jump to content

Fast update ListView


Recommended Posts

Hi!

I need a way how to stop a listview from redrwing itself after inserting an item because I add a large amount of data to it in a loop.

I think I remember having seen a for doing so, but neither the help file nor the forum search gave me a hint again.

Thanks for help,

peethebee

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

Link to comment
Share on other sites

$WM_SETREDRAW = 0x000B

GUICtrlSendMsg ($listview, $WM_SETREDRAW,0,0)
While ...
  GUICtrlCreateListViewItem("items", $listview)
WEnd
GUICtrlSendMsg ($listview, $WM_SETREDRAW,1,0)oÝ÷ ÚÚºÚ"µÍÝZTÙ]Ý]JÕ×ÓÐÒË ÌÍÑÜLJBÝZTÙ]Ý]JÕ×ÕSÐÒË ÌÍÑÜLJ

Edited by Zedna
Link to comment
Share on other sites

Thanks you both!

But it unfortunately does not speed up things in my case (Galenda)...

peethebee

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...