On Saturday 28 July 2012 00:35:16 Christian Nobel wrote:
> Aha.
>
> The application.processmessages did the trick.
>
> Ether by replacing the mainfo.update with application.processmessages
>
> or by putting application.processmessages right after the
> application.beginwait
>
The background:
Updating the cursor shape while entering/leaving application windows is done 
by the main eventloop.
You show the wait cursor just after the filedialog window has been destroyed, 
so there is no mouse window at the moment.
The main event loop is blocked by your long time task -> mouse enter events 
can not be handled -> no wait cursor handling.
application.processmessages() calls a stacked main event loop.

Martin

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to