Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

unwanted busy cursor when multi-threading

$
0
0

we would like to do time-consuming computing behind-scene with multi-threading(in my case, 4 threads are kicked off simultaneously, each thread is assigned to read one sheet in a large excel file), as soon as the application env is up. During this computing time we do not want the busy cursor to show up, as there is no need for this(this is the behind scene work user does not need to know). In the code, I have not explicitly set any busy cursor. however, the busy cursor displays automatically, until all 4 threads are complete. This is viwwed as a bug in our application as user sees this when he moves cusror over application toolbars area, and they don't understand what's going on.

 How to prevent this from happening?


Viewing all articles
Browse latest Browse all 15302

Trending Articles