Explorer View - TimeTaking
-
Hi , I have splitter window with a treeview and a listview (like as in explorer) in which i will be populating the data to be displayed in the listview's initialupdate . The problem is that wen i do a showindow maximize it takes a lot of time to get displayed (due to large data ) which in effect looks bad , is their any way i can reduce this . Regards, FarPointer
-
Hi , I have splitter window with a treeview and a listview (like as in explorer) in which i will be populating the data to be displayed in the listview's initialupdate . The problem is that wen i do a showindow maximize it takes a lot of time to get displayed (due to large data ) which in effect looks bad , is their any way i can reduce this . Regards, FarPointer
For the list view, check LVS_OWNERDATA in MSDN docs. Its a style to make a virtual listview. That could solve your problem. I dont think there is any thing similar for the tree view. Magnus
-
For the list view, check LVS_OWNERDATA in MSDN docs. Its a style to make a virtual listview. That could solve your problem. I dont think there is any thing similar for the tree view. Magnus
Hi , Thanx for your coment but i have moved ahead with my implementatiobn that its not feasible to change it now ,as you might be aware that for this i need to give a LVN_GETDISPINFO handler . I also want to bring to the notice that it takes time only once and that to in the ShowWindow(SW_SHOWMAXIMIZED),afterwards its prety fast due to SetRedraw(FALSE) etc . Regards, FarPointer
-
Hi , Thanx for your coment but i have moved ahead with my implementatiobn that its not feasible to change it now ,as you might be aware that for this i need to give a LVN_GETDISPINFO handler . I also want to bring to the notice that it takes time only once and that to in the ShowWindow(SW_SHOWMAXIMIZED),afterwards its prety fast due to SetRedraw(FALSE) etc . Regards, FarPointer
Well thats the only way I know of speeding up the list control. Except a full owner draw version... but thats an even bigger change :) When are you populating the control.. maybe if you wait with that untill after the call to ShowWindow... might help. Magnus
-
Well thats the only way I know of speeding up the list control. Except a full owner draw version... but thats an even bigger change :) When are you populating the control.. maybe if you wait with that untill after the call to ShowWindow... might help. Magnus
Hi , Anyway i appreciate your suggestion i was not aware of the LVS_OWNERDATA anyway. Regards, FarPointer