Re: Two controllers in a window, how do I get one to run a function in another?

2009-08-27 Thread bryscomat
. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/bryscomat%40gmail.com This email sent to brysco...@gmail.com ___ Cocoa-dev mailing list (Cocoa

Re: Making NSNumberFormatter empty-tolerant

2009-08-27 Thread bryscomat
@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 your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/bryscomat%40gmail.com This email sent to brysco...@gmail.com

Re: Selection highlight in NSTextFieldCell

2009-08-26 Thread bryscomat
Have you tried the documentation? NSTextFieldCell is an NSCell, right? -[NSCell highlightColorWithFrame:inView:] Yes, I came across this in the documentaion. After playing with it for a little bit (and a couple other methods like it) I thought it was just not honored in an

Stop automatic editing of NSTextField

2009-08-25 Thread bryscomat
Hey all. Quick question: How do I prevent a window from initially making an NSTextField the firstResponder? I do not want any controls to automatically begin editing. Thanks. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

Stop automatic editing of NSTextField

2009-08-25 Thread bryscomat
Nevermind. It's the [NSWindow setInitialFirstResponder:] method. Duh. ___ 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

Selection highlight in NSTextFieldCell

2009-08-25 Thread bryscomat
How do I change the selection highlight color for an NSTextFieldCell being edited? I'm using a transparent window and would like to change the highlight to a light gray instead of the default light blue, ___ Cocoa-dev mailing list

Re: Selection highlight in NSTextFieldCell

2009-08-25 Thread bryscomat
I appreciate the responses, and I think Kyle nailed it. It just doesn't work on a black background. I wasn't looking to change the user's preferences, just the way the selection was handled in this particular part of the app. I dug a little further, and it looks like you're right Graham.

Re: When to 'release' in Cocoa management?

2009-08-21 Thread bryscomat
-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/bryscomat%40gmail.com This email sent to brysco...@gmail.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: Accessing method from another class

2009-08-20 Thread bryscomat
://lists.apple.com/mailman/options/cocoa-dev/bryscomat%40gmail.com This email sent to brysco...@gmail.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

RE: Accessing method from another class

2009-08-20 Thread bryscomat
I found your solution. In Application.m, at the end of the setSlim: method, add this line: [[NSApp delegate] resetTextAndBar:self]; And at the top of the file, import the BeastCloneAppDelegate.h file to suppress the warning. This will work since you are accessing a CLASS set as

Re: [newb] Allowing error-prone code line to persist in app

2009-08-18 Thread bryscomat
There would be NO performance impact to impose the check. Always perform range-checking as it will most likely break under circumstances outside of your development environment. It's not just a matter of style. On Aug 18, 2009, at 11:11 AM, Chris Paveglio wrote: This is a question of

Re: How to make it bounce!

2009-08-18 Thread bryscomat
not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/bryscomat%40gmail.com This email sent to brysco...@gmail.com

Audio CD Subchannel Info

2009-08-17 Thread bryscomat
Hey everyone, is there any way to tell if an audio track on a CD contains CDG subchannel info? Currently, I am using a the following code to read the subchannel info: dk_cd_read_tcd_read; unsigned char *buffer = (unsigned char*)malloc(capacity); memset(cd_read, 0, sizeof(cd_read));

Title bar highlighting behavior

2009-08-14 Thread bryscomat
Hello all. In a window of my app, I have an NSView acting as a toolbar. It is colored with a gradient so that it looks like a textured toolbar and blends in nicely with the title bar. However, it does not fade out when window loses key. I have implemented the delegate method