Yes I change visible attribute but i do not erase anything. The blinking is quite special because even if my timer is 100ms the blinking period is not 100ms... it is almost 500ms... very strange, most of time treeview items remains and are not blinking even if item name changed! and others time it seems to erase item and redraw it => so blinking effect...
vivelesours
Posts
-
Prevent Treeview from blinking when updating -
Prevent Treeview from blinking when updatingUnfortunatelly... I really think it comes from InsertItem/SetItem itself... it seems it erase the item and redraw item... and that for every items it's a christmas tree. ;-)
-
Prevent Treeview from blinking when updatingCould you explain a little bit more. In my case i don't remove anything i just and or update items every 100ms... Here is my code (may be it can help) OnTimer() { GetTreeCtrl().SetRedraw(FALSE); while (something to add or update) { //Add Trace item in the ListCtrl/Treeview AddOrUpdate (SetItem or InsertItem) } //Allow to draw all modified lines in the ListCtrl GetTreeCtrl().SetRedraw(TRUE); }
-
Prevent Treeview from blinking when updatingIt's is already done but it didn't do anything...
-
Prevent Treeview from blinking when updatingI got some trouble with a mdi frame derived from Ctreeview, i need update my treeview data (insert or setitem several items very often ~100ms) and there is a blinking effect. When i use a CListView class to display my data i don't have such problem... Is it possible to do something to prevent my view from blinking my optimizing something? Thanks in advance. If someone needs more precisions please ask. Bye