C
Claudio Di Flumeri
I am filling a listview with some data read from a Database SQL Server. To
fill the listview I am using a thread in which I read data from DB and I add
them to the listview. The problem is that, when the thread is executing,
when I move the cursor over the listview the Default Cursor is shown while
the WaitCursor had to be shown (just like happen over the remaining part of
the interface of my program). I have set the cursor (the one of the form,
not the one of the listview because I've read it doesn't work and anyway
I've tried that too) to WaitCursor both before and inside the thread, but
nothing happens. Any idea?
fill the listview I am using a thread in which I read data from DB and I add
them to the listview. The problem is that, when the thread is executing,
when I move the cursor over the listview the Default Cursor is shown while
the WaitCursor had to be shown (just like happen over the remaining part of
the interface of my program). I have set the cursor (the one of the form,
not the one of the listview because I've read it doesn't work and anyway
I've tried that too) to WaitCursor both before and inside the thread, but
nothing happens. Any idea?