• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Progress bar on front NSPanel is grey not blue??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Progress bar on front NSPanel is grey not blue??


  • Subject: Re: Progress bar on front NSPanel is grey not blue??
  • From: Uli Kusterer <email@hidden>
  • Date: Fri, 19 Oct 2007 23:30:46 +0200

Am 19.10.2007 um 22:24 schrieb David Hoerl:
- (BOOL) isKeyWindow
{
  return YES;
}

Once added, the panel now displays an Aqua colored progress bar.

I haven't tested this, but I think you'd really want to override canBecomeKeyWindow, not isKeyWindow. The former means your window can become the key view when the user designates it as such (by clicking or using Cmd-~ or whatever). If you override the latter, you're effectively lying to everyone about your window.


So, in general, you want to override canBecomeMain or canBecomeKey, not isMainWindow or isKeyWindow.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

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


  • Follow-Ups:
    • Re: Progress bar on front NSPanel is grey not blue??
      • From: David Hoerl <email@hidden>
References: 
 >RE: Progress bar on front NSPanel is grey not blue?? (From: David Hoerl <email@hidden>)

  • Prev by Date: Re: window de/activation notifications (was Re: inappropriate tool palette activation problem)
  • Next by Date: Re: window de/activation notifications (was Re: inappropriate tool palette activation problem)
  • Previous by thread: RE: Progress bar on front NSPanel is grey not blue??
  • Next by thread: Re: Progress bar on front NSPanel is grey not blue??
  • Index(es):
    • Date
    • Thread