Re: setToolTip: not working

2009-11-20 Thread Ben Haller
On 20-Nov-09, at 6:57 AM, Andy Lee wrote: On Nov 19, 2009, at 1:04 PM, Ben Haller wrote: This led me to suspect the custom NSView subclass that I am using as a content view, and indeed, if I use that custom subclass as the content view in Andy's code, it breaks the tooltip there too. Total

Re: setToolTip: not working

2009-11-20 Thread Andy Lee
On Nov 19, 2009, at 1:04 PM, Ben Haller wrote: > This led me to suspect the custom NSView subclass that I am using as a > content view, and indeed, if I use that custom subclass as the content view > in Andy's code, it breaks the tooltip there too. Total shot in the dark: what if you don't chang

Re: setToolTip: not working

2009-11-19 Thread Ben Haller
On 19-Nov-09, at 7:46 AM, Andy Lee wrote: ...I just did a quick test with an NSButton and a trivial custom view, and it worked. It also worked when I replaced TestView below with NSView. - (void)awakeFromNib { NSWindow *testWindow = [[NSWindow alloc] initWithContentRect:NSMakeRect(100

Re: setToolTip: not working

2009-11-19 Thread Andy Lee
On Nov 18, 2009, at 8:30 PM, Gregory Weston wrote: > Ben Haller wrote: [...] >> I get the impression that others are not seeing it because it's a >> problem that specially bites apps that build their UI in code, instead >> of in IB, and that's rare. I was trying to fish for someone who would

Re: setToolTip: not working

2009-11-18 Thread Gregory Weston
Ben Haller wrote: >>> Given the deafening silence on this, I'm putting in a Radar on the >>> problem (7404209) and moving on. :-> >> >> Have you tried reproducing the problem with a test application? > > I get the impression that others are not seeing it because it's a > problem that spec

Re: setToolTip: not working

2009-11-18 Thread Ben Haller
On 18-Nov-09, at 8:40 AM, Eric Gorr wrote: On Nov 18, 2009, at 7:42 AM, Ben Haller wrote: Given the deafening silence on this, I'm putting in a Radar on the problem (7404209) and moving on. :-> Have you tried reproducing the problem with a test application? I think the reason for the deaf

Re: setToolTip: not working

2009-11-18 Thread Eric Gorr
On Nov 18, 2009, at 7:42 AM, Ben Haller wrote: > On 16-Nov-09, at 12:11 PM, Ben Haller wrote: > >> I'm having difficulty setting tooltips on some views in code. This should >> be a simple matter of calling setToolTip: on the views in question, as far >> as I can tell from the docs, but that i

Re: setToolTip: not working

2009-11-18 Thread Ben Haller
On 16-Nov-09, at 12:11 PM, Ben Haller wrote: I'm having difficulty setting tooltips on some views in code. This should be a simple matter of calling setToolTip: on the views in question, as far as I can tell from the docs, but that is not working for me. I surfed the various lists for pr

setToolTip: not working

2009-11-16 Thread Ben Haller
I'm having difficulty setting tooltips on some views in code. This should be a simple matter of calling setToolTip: on the views in question, as far as I can tell from the docs, but that is not working for me. I surfed the various lists for prior questions about this, and found several,