Re: Unhidable App

2010-11-01 Thread Kyle Sluder
On Nov 1, 2010, at 9:33 PM, "Gerriet M. Denkmann" wrote: > 02/11/2010 09:18:20EnTeP[149]HIToolbox: ignoring exception > '-[NSConcreteNotification invalidate]: unrecognized selector sent to instance > 0x113b3b160' that raised inside Carbon event dispatch > ( >0 CoreFoundation

Unhidable App

2010-11-01 Thread Gerriet M. Denkmann
I have an App which runs for a long time without problems. But sometimes (after several days, never directly after start) it does no longer hide. Clicking "Hide myApp" just does nothing. One can still open and close windows, and everything works fine. But it stubbornly refuses to hide. Console.

Re: Any way to get NSTextFieldCell to wrap AND truncate?

2010-11-01 Thread Aki Inoue
-[NSCell setTruncatesLastVisibleLine:YES] should do the trick. Aki On 2010/11/01, at 14:52, Ben Lachman wrote: > I have a cell that I'd like to wrap its text. However there's the > possibility of even after wrapping there being too much text to display. Is > there a way to get truncation to

Is NSStreamEvent a bitfield or not?

2010-11-01 Thread Sean McBride
Hi all, I'm just playing with NSStream for the first time, and all the code and docs I've seen have a switch in the implementation of stream:handleEvent:, like: switch(eventCode) { case NSStreamEventHasBytesAvailable: ... ex:

Any way to get NSTextFieldCell to wrap AND truncate?

2010-11-01 Thread Ben Lachman
I have a cell that I'd like to wrap its text. However there's the possibility of even after wrapping there being too much text to display. Is there a way to get truncation to happen after wrapping if it still needs it? Is my best bet to manually truncate my strings to fit after wrapping? Th

Re: [Q} Changing help key behavior (was Re: Cocoa-dev Digest, Vol 7, Issue 1019)

2010-11-01 Thread Andrew Merenbach
I purchased my MacBook in early 2008. Interesting that the help key disappeared from MacBooks first! Maybe I should've said "couple of years," rather than "several years"... Best, Andrew On Nov 1, 2010, at 2:32 PM, Bill Cheeseman wrote: > > On Nov 1, 2010, at 5:19 PM, Andrew Merenbach wrote

Re: Cocoa-dev Digest, Vol 7, Issue 1019

2010-11-01 Thread Barry Skidmore
The function key was introduced on new Macs with Expose and Spacese. On Nov 1, 2010, at 4:32 PM, Bill Cheeseman wrote: > > On Nov 1, 2010, at 5:19 PM, Andrew Merenbach wrote: > >> —have any Apple keyboards, laptop or desktop, had a Help key in the last >> several years? My Apple keyboard has

Re: [Q} Changing help key behavior

2010-11-01 Thread Eric Gorr
On Nov 1, 2010, at 5:20 PM, Bill Cheeseman wrote: > > On Nov 1, 2010, at 4:57 PM, Eric Gorr wrote: > >> Any chance you (or someone else) could check the first edition of your book? > > > OK, you talked me into it. I'm sorry to say that the first edition of my book > did not explain how to sup

Re: Cocoa-dev Digest, Vol 7, Issue 1019

2010-11-01 Thread Bill Cheeseman
On Nov 1, 2010, at 5:19 PM, Andrew Merenbach wrote: > —have any Apple keyboards, laptop or desktop, had a Help key in the last > several years? My Apple keyboard has a "fn" key where the hep key used to > be, and my laptop certainly doesn't have any such key at this point. I buy new Apples/M

Re: [Q} Changing help key behavior

2010-11-01 Thread Andrew Merenbach
Sorry, forgot the subject in my prior response (just recently switched to digest mode). Apologies to any who were inconvenienced by my previous reply with the digest title in the subject. -- Andrew___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: [Q} Changing help key behavior

2010-11-01 Thread Bill Cheeseman
On Nov 1, 2010, at 4:57 PM, Eric Gorr wrote: > Any chance you (or someone else) could check the first edition of your book? OK, you talked me into it. I'm sorry to say that the first edition of my book did not explain how to suppress the question mark cursor, and I have no idea how to do it.

Re: Cocoa-dev Digest, Vol 7, Issue 1019

2010-11-01 Thread Andrew Merenbach
I apologize for responding without a proper answer, but—just out of curiosity, with all due respect, and for my own education—have any Apple keyboards, laptop or desktop, had a Help key in the last several years? My Apple keyboard has a "fn" key where the hep key used to be, and my laptop certa

Re: [Q} Changing help key behavior

2010-11-01 Thread Eric Gorr
On Nov 1, 2010, at 4:07 PM, Bill Cheeseman wrote: > > On Nov 1, 2010, at 2:52 PM, Eric Gorr wrote: > >> When I press the Help Key on the keyboard, my keyDown: method is not called >> and I would like it to be as I need to do something custom. >> >> Right right, when I press the help key, the

Re: [Q} Changing help key behavior

2010-11-01 Thread Bill Cheeseman
On Nov 1, 2010, at 2:52 PM, Eric Gorr wrote: > When I press the Help Key on the keyboard, my keyDown: method is not called > and I would like it to be as I need to do something custom. > > Right right, when I press the help key, the cursor changes to a question mark. > > Anyone know how to ove

[Q} Changing help key behavior

2010-11-01 Thread Eric Gorr
I have a subclass of a NSWindowController. In my subclass, I have a keyDown: method. When I press the Help Key on the keyboard, my keyDown: method is not called and I would like it to be as I need to do something custom. Right right, when I press the help key, the cursor changes to a question m