Re: Progress bar on front NSPanel is grey not blue??
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