Re: Getting the "busy" cursor to display.



On 11 April 2012 10:51, James Tappin <jtappin gmail com> wrote:


I'm now really confused -- I've reordered some of the code so that the
set_cursor call precedes putting a message in the status bar. And the
status bar updates but not the cursor.


OK: I think I've figured it. The problem is/was that since the pointer was
not normally inside the monitor window when the cursor change was made AND
there was no event polling during the read, the cursor was stuck in what
ever state it entered the window.

Since other parts of the program use openmp for parallel DO loops, I've put
a parallel section so that one thread polls events while the other does the
reads.

Thanks for all the comments, they did help getting me thinking down the
right lines.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]