Hi,
I'm having the following problem:
- I'm opening a panel with a progress indicator
- I'm starting a new thread with a background function (via NSThread
detachNewThreadSelector)
- I do NSApp runModalForWindow: for the progress panel
- when the thread is finished, I close the progress panel
On Jul 14, 2009, at 8:33 AM, Thomas Pesters wrote:
...
When my app finishes the background thread, the progress window
closes as expected, modal stops and the windows below get focus.
But: only after an event arrives (moving the mouse or hitting a key)
...
From what thread are you ending
On 14/07/2009, at 10:33 PM, Thomas Pesters wrote:
Hi,
I'm having the following problem:
- I'm opening a panel with a progress indicator
- I'm starting a new thread with a background function (via NSThread
detachNewThreadSelector)
- I do NSApp runModalForWindow: for the progress panel
- when