Re: Tool Tips for Inactive window...
Re: Tool Tips for Inactive window...
- Subject: Re: Tool Tips for Inactive window...
- From: Chunk 1978 <email@hidden>
- Date: Fri, 20 Feb 2009 09:02:34 -0500
were you setting your tooltips in IB? were they removed after you
subclassed your panel?
maybe try setting your tooltips programatically? like: [myButton
setToolTip:@"button tooltip"];
On Fri, Feb 20, 2009 at 8:19 AM, rajesh <email@hidden> wrote:
> Forgot to mention this,
> Panel has set of buttons , these buttons toolTip's values are bound to a
> controller.
>
> Tool tips showed up until I sub-classed the panel...
>
> ~Rajesh
>
> On Feb 20, 2009, at 2:05 PM, rajesh wrote:
>
>> Hi all,
>>
>> As the subject indicates
>> as a part of application's info panel doesn't become key window....
>>
>> I tried with setAllowsToolTipsWhenApplicationIsInactive,
>> but it has no effect on the panel , tool tips doesn't appear ( where as If
>> I make the window "Key" window it does show up the tool tips)
>>
>> Any help ?
>> am I missing any other flag to be set ?
>>
>> NSPanel is in NIB file (sub-classed)
>>
>> subclass part
>> -(void)awakeFromNib{
>> [self setAllowsToolTipsWhenApplicationIsInactive:YES];
>> }
>>
>> -(BOOL)canBecomeKeyWindow
>> {
>> return NO;
>> }
>>
>> ~Rajesh
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> 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:
>>
>> This email sent to email@hidden
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden