Le 1 juin 08 à 14:27, Torsten Curdt a écrit :
If you handle the modal session yourself, it's easy to let the
connection do some processing while the modal window is open:
Replace -[NSApp runModalForWindow:[self window]] by this and it
should do the trick.
/* Create a modal session, and
On May 31, 2008, at 19:54, Jens Alfke wrote:
On 31 May '08, at 10:14 AM, Torsten Curdt wrote:
Indeed - modal is smelly ...and I have considered non-modal. It
would make my life easier. But since I have just integrated your
exception handling into the FeedbackReporter framework ...wouldn'
If you handle the modal session yourself, it's easy to let the
connection do some processing while the modal window is open:
Replace -[NSApp runModalForWindow:[self window]] by this and it
should do the trick.
/* Create a modal session, and in each loop,
we process the default runloop
Le 31 mai 08 à 19:14, Torsten Curdt a écrit :
On May 31, 2008, at 18:55, Jens Alfke wrote:
On 31 May '08, at 8:07 AM, Torsten Curdt wrote:
I think you want to schedule the connection for the
NSModalPanelRunLoopMode runloop mode. This is the mode that is
used for modal windows.
You mean
On 31 May '08, at 10:14 AM, Torsten Curdt wrote:
Indeed - modal is smelly ...and I have considered non-modal. It
would make my life easier. But since I have just integrated your
exception handling into the FeedbackReporter framework ...wouldn't
you expect the dialog that pops up in case o
On May 31, 2008, at 18:55, Jens Alfke wrote:
On 31 May '08, at 8:07 AM, Torsten Curdt wrote:
I think you want to schedule the connection for the
NSModalPanelRunLoopMode runloop mode. This is the mode that is
used for modal windows.
You mean with scheduleInRunLoop:forMode: ? ...but that's
I saw you using that in your included code so I thought you were ok
with it. For Tiger I can only suggest using secondary thread
processing as the cleanest approach. Or you can reconsider using a
modal window.
On May 31, 2008, at 9:07 AM, Torsten Curdt wrote:
You mean with scheduleInRun
On 31 May '08, at 8:07 AM, Torsten Curdt wrote:
I think you want to schedule the connection for the
NSModalPanelRunLoopMode runloop mode. This is the mode that is
used for modal windows.
You mean with scheduleInRunLoop:forMode: ? ...but that's only
available since 10.5
I don't know of
On May 31, 2008, at 16:09, Michael Vannorsdel wrote:
I think you want to schedule the connection for the
NSModalPanelRunLoopMode runloop mode. This is the mode that is used
for modal windows.
You mean with scheduleInRunLoop:forMode: ? ...but that's only
available since 10.5
cheers
--
T
I think you want to schedule the connection for the
NSModalPanelRunLoopMode runloop mode. This is the mode that is used
for modal windows.
On May 31, 2008, at 7:28 AM, Torsten Curdt wrote:
A bit puzzled ...seems like I need some advise here.
From a NSWindowController I create a modal dia
10 matches
Mail list logo