NSSegmentedControl selection mode

2008-05-06 Thread Andrew Kimpton
I have an NSSegmentedControl which I'm trying to make work just like the one in iCal. I have two central segments (Week & Month - no days) and a segment at each end for forward/back. If the control is in 'select one' mode I can have either week or month selected and drawn in the darkened s

Re: beginSheetModalForWindow: and Distributed Objects

2008-05-01 Thread Andrew Kimpton
somesuch. Andrew 8-) On Apr 30, 2008, at 3:29 PM, Andrew Kimpton wrote: I'm simply calling beginSheetModalForWindow: on a 'regular' window (this isn't a document based app - but the window in question isn't modal either). So from Mike Ash's comments it seems l

Re: beginSheetModalForWindow: and Distributed Objects

2008-04-30 Thread Andrew Kimpton
On Apr 30, 2008, at 3:59 PM, Michael Vannorsdel wrote: This is true of course but since he's getting loop mode issues I'm just assuming either he's actually running a modal window or displaying a sheet on a modal window. If it's a normal stock sheet there would have been no issues with NS

Re: beginSheetModalForWindow: and Distributed Objects

2008-04-30 Thread Andrew Kimpton
Michael Vannorsdel wrote: NSConnection has a addRequestMode: method you can add multiple modes it will work in. That'll help - once I can find out what mode the beginSheetModalForWindow: is using... ? Andrew 8-) ___ Cocoa-dev mailing list (Cocoa-

beginSheetModalForWindow: and Distributed Objects

2008-04-29 Thread Andrew Kimpton
I'm displaying a modal sheet for a Window using beginSheetModalForWindow: but I'm seeing that whilst the sheet is displayed new messages sent to the application using a previously registered NSConnection are not being handled. I think this is because the run loops is not in NSDefaultRunLoop