Jump to content

Hard to describe... one for the experts


Recommended Posts

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.

Link to comment
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)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...