peethebee Posted August 29, 2006 Share Posted August 29, 2006 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 More sharing options...
amanda089 Posted August 29, 2006 Share Posted August 29, 2006 You can stop some of the flickering using $LVS_EX_DOUBLEBUFFER (search it, I posted the const elsewhere [forgot which thread]) I haven't found out how to update just a single item yet though. Link to comment Share on other sites More sharing options...
Zedna Posted August 29, 2006 Share Posted August 29, 2006 (edited) $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 August 29, 2006 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
peethebee Posted August 29, 2006 Author Share Posted August 29, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now