On 4 Sep 2011, at 10:39, Quincey Morris wrote:

>> I have a control that needs to be highlighted when the font panel is 
>> visible. This turns out not to be an easy task. I can't find any 
>> notifications that will be triggered whenever the font panel is shown or is 
>> hidden.
> 
> Why can't you use '[[NSFontPanel sharedFontPanel] isVisible]' (possibly 
> checking first with '[NSFontPanel sharedFontPanelExists]' so that you don't 
> unnecessarily create it)?

Because I need to know when the status changes, rather then simply whether it 
is visible.

-António

----------------------------------------------------
It is better to light a candle than to curse the darkness
----------------------------------------------------



_______________________________________________

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 your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to