Re: Working around radio button grouphing behaviour in 10.8 SDK?

2016-07-03 Thread Jo Meder
++ with an Objective-C back end on the Mac. There is one action set on radio buttons which basically hands off to the framework to do notifications and such. The radio buttons are always created programatically. Regards, Jo Meder On 3/07/2016, at 5:33 pm, dangerwillrobinsondan...@gmail.com wrote

Working around radio button grouphing behaviour in 10.8 SDK?

2016-07-02 Thread Jo Meder
expects the buttons to be independent and then manages radio button groups in its own way. Has anyone else had problems with this too? A few solutions suggest themselves to me, but I’d appreciate hearing how others have worked around this behaviour. Regards, Jo Meder

Re: Xcode 5 Obj-C++

2014-01-30 Thread Jo Meder
that might have. Essentially though, Xcode 5 and Objective-C++ are no problem. Regards, Jo Meder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa

Re: Xcode 5 Obj-C++

2014-01-30 Thread Jo Meder
to do some tweaking to account for layout differences at times. Regards, Jo Meder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins

Re: Can't get UTI to stick

2012-04-07 Thread Jo Meder
Hi, On 7/04/2012, at 10:55 AM, C.W. Betts wrote: Try making the UTI UTTypeConformsTo to also include public.data. Also, make sure in the Spotlight importer that the app's UTI is being imported. Thanks for the info. I did that and it didn't work. I went back and had a good close look at the

Can't get UTI to stick

2012-04-02 Thread Jo Meder
the CFBundleDocumentTypes section so there is just the UTI but that didn't help. Can you see something wrong with the above? I'd greatly appreciate any help. So far I've spent longer trying to get this to work than I did on the Quick Look generator itself. Regards, Jo Meder

Modal loop memory leak on 10.6

2010-12-20 Thread Jo Meder
pointers as to what might be going awry? I'm out of ideas at the moment. Regards, Jo Meder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev

Re: Modal loop memory leak on 10.6

2010-12-20 Thread Jo Meder
; } [NSApp endModalSession:modalSession]; [macWindow release]; } Thanks for your help. Regards, Jo Meder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

FSCopyObjectSync() failing to overwrite on 10.6?

2010-10-25 Thread Jo Meder
Hi, I'm using FSCopyObjectSync() to copy a file and want it to overwrite the destination file if it exists. However I've discovered this isn't working on 10.6. I'm getting error -48 which is the duplicate filename error. Fair enough, I'm trying to copy and overwrite a file with the same name,

Re: Strange NSScroller sizing behaviour

2010-05-03 Thread Jo Meder
Hi Bill, On 1/05/2010, at 6:19 AM, Bill Appleton wrote: hi anyone out there, i have more information on this scroll bar bug if i open more and more text windows the scroll bar (nsscroller) appears on the right or bottom of each one each window has 2 scroll bars, i have verified the 2

Re: Strange NSScroller sizing behaviour

2010-05-03 Thread Jo Meder
{ NSRect frame = [self frame]; NSRect scrollerFrame = [m_scroller frame]; scrollerFrame.origin.x = 0; scrollerFrame.origin.y = 0; scrollerFrame.size = frame.size; [m_scroller setFrame:scrollerFrame]; return; } @end Regards, Jo

Strange NSScroller sizing behaviour

2010-04-29 Thread Jo Meder
problems with any other views, which I use plenty of, it just seems to be NSScrollers. The problem occurs in both 32 and 64 bit builds. Originally I was using setFrameSize: but that also had problems. Does anyone have any ideas about what might be going on? Regards, Jo Meder

Re: Frame/layout rect

2010-01-25 Thread Jo Meder
Hi Kyle, On 25/01/2010, at 6:57 PM, Kyle Sluder wrote: On Sun, Jan 24, 2010 at 9:24 PM, Jo Meder jome...@ihug.co.nz wrote: I'm pretty sure I know the answer to this one already, but is anyone aware of a way to get/set the layout rect for a view? Or get a frame rect from a layout rect

Re: runModalForWindow crash

2010-01-25 Thread Jo Meder
Hi Nick, On 26/01/2010, at 6:06 AM, Nick Zitzmann wrote: On Jan 24, 2010, at 6:14 PM, Jo Meder wrote: My guess is that [NSApplication runModalForWindow:] is trying to send a message to my window object which has been released by now perhaps? I think I'm probably not getting something

runModalForWindow crash

2010-01-24 Thread Jo Meder
not getting something to do with object lifetimes here or something. Does anyone have any ideas what the problem might be? Regards, Jo Meder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Frame/layout rect

2010-01-24 Thread Jo Meder
Hi, I'm pretty sure I know the answer to this one already, but is anyone aware of a way to get/set the layout rect for a view? Or get a frame rect from a layout rect, that sort of thing? This is the same layout rect we see in IB, which I understand is only available in IB but which I'm hoping

Re: Cocoa equivalent to HIViewGetOptimalBounds?

2010-01-19 Thread Jo Meder
Hi Kyle, On 20/01/2010, at 5:34 AM, Kyle Sluder wrote: On Jan 18, 2010, at 6:48 PM, Jo Meder jome...@ihug.co.nz wrote: Is there a Cocoa equivalent to HIViewGetOptimalBounds()? That function would return the optimal bounds for an HIView and I found it very useful. Not entirely

Cocoa equivalent to HIViewGetOptimalBounds?

2010-01-18 Thread Jo Meder
Hi, Is there a Cocoa equivalent to HIViewGetOptimalBounds()? That function would return the optimal bounds for an HIView and I found it very useful. I need to support 10.4. Regards, Jo Meder___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: Get|SetControlProperty() equivalent

2009-06-12 Thread Jo Meder
I would need to do. Thanks all the same, something new learnt even if it is deprecated :-). Regards, Jo Meder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Get|SetControlProperty() equivalent

2009-06-11 Thread Jo Meder
bolt this on to NSView? I'm trying to avoid setting up a map from NSViews to UI framework objects, but I suspect it will be inevitable. Not really a big deal, but less hassle to be able to associate the data directly so that would be a preferable solution. Regards, Jo Meder

Stepping the event loop?

2009-06-11 Thread Jo Meder
to support 10.4 and up. Regards, Jo Meder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update

Re: Get|SetControlProperty() equivalent

2009-06-11 Thread Jo Meder
and easier. Thanks anyway. I was a long time MacZoop user BTW. Well, some of MacZoop, I used all my own control classes. I use a messaging and commander system inspired by my experience with MacZoop in my own framework. Regards, Jo Meder ___ Cocoa-dev

Re: Emulating Carbon menu bevel button?

2009-05-25 Thread Jo Meder
by the Cocoa control is really big and it doesn't seem like it can be placed in the same way, for example bottom right, facing right. - The control seems to want to use the image and/or text from the first menu item as its image and label. That's really a nuisance. Regards, Jo Meder

Re: Emulating Carbon menu bevel button?

2009-05-25 Thread Jo Meder
Hi Kyle, On 25/05/2009, at 8:52 PM, Kyle Sluder wrote: On Mon, May 25, 2009 at 1:43 AM, Jo Meder jome...@ihug.co.nz wrote: - The arrow used by the Cocoa control is really big and it doesn't seem like it can be placed in the same way, for example bottom right, facing right. Shouldn't

Re: Emulating Carbon menu bevel button?

2009-05-25 Thread Jo Meder
particularly when you set a menu explicitly. Having gone through all this I now know it's possible to get a lot closer to the Carbon control, but the Cocoa one still seems a bit awkward and less versatile. Regards, Jo Meder ___ Cocoa-dev

Emulating Carbon menu bevel button?

2009-05-24 Thread Jo Meder
is is an NSPopUpButtonCell to handle certain actions, but not letting it draw. I'm supporting 10.4 and up. Regards, Jo Meder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Positioning images in buttons?

2009-05-24 Thread Jo Meder
controls for image positioning in Cocoa buttons somewhere? I have a sneaking suspicion that if I want the same functionality as Carbon I'm going to have to implement it myself. I'm supporting 10.4 and up. Regards, Jo Meder ___ Cocoa-dev mailing list

Re: Cocoa user pane equivalent?

2009-04-05 Thread Jo Meder
-views for grouping purposes. Yes, that describes it pretty well. NSView is the equivalent of HIView so NSView is what you want I think. Thanks. Well, I still might inherit from NSControl if I decide it has stuff I need, but that info is a help. Regards, Jo Meder

Re: Cocoa user pane equivalent?

2009-04-05 Thread Jo Meder
Hi Graham, On 6/04/2009, at 1:07 AM, Graham Cox wrote: On 05/04/2009, at 12:20 PM, Jo Meder wrote: The one thing I'm not really clear on is what the Cocoa equivalent of a Carbon user pane control would be. It seems that there isn't really a direct equivalent in Cocoa and that the best way

Cocoa user pane equivalent?

2009-04-04 Thread Jo Meder
NSControl. Would that be right? Regards, Jo Meder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe