dazza Posted July 21, 2009 Posted July 21, 2009 I have several listviews being populated off a treeview. This processing can take several seconds. I have put a label on the form saying 'BUSY'. At the end of the function, I blank the label. Yet... the label clears before the listviews are being populated. There is a delay, like a re-draw or a time when what's in memory gets pushed into the listviews. And this occurs after the function has been completed. So, how can I detect this end of processing so I can blank the busy at the right time? Many thanks.
MadBoy Posted July 21, 2009 Posted July 21, 2009 I have several listviews being populated off a treeview. This processing can take several seconds. I have put a label on the form saying 'BUSY'. At the end of the function, I blank the label. Yet... the label clears before the listviews are being populated. There is a delay, like a re-draw or a time when what's in memory gets pushed into the listviews. And this occurs after the function has been completed. So, how can I detect this end of processing so I can blank the busy at the right time? Many thanks. Hello, Are you using #Include <GuiListView.au3> _GUICtrlListView_BeginUpdate($hWnd) _GUICtrlListView_EndUpdate($hListView) Or you just update the listView without those functions? My little company: Evotec (PL version: Evotec)
dazza Posted July 21, 2009 Author Posted July 21, 2009 Good thinking. I wrapped these two around each listview yet still the problem remains.
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