Sign in to follow this  
Followers 0
dazza

Hard to describe... one for the experts

3 posts in this topic

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.

Share this post


Link to post
Share on other sites



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)

Share this post


Link to post
Share on other sites

Good thinking. I wrapped these two around each listview yet still the problem remains.

Share this post


Link to post
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
Sign in to follow this  
Followers 0