Re: NSPanel vs. NSFontPanel and font color
Re: NSPanel vs. NSFontPanel and font color
- Subject: Re: NSPanel vs. NSFontPanel and font color
- From: Erik Buck <email@hidden>
- Date: Tue, 25 Oct 2005 23:57:10 -0400
Does this help ?
http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSPanel.html#//apple_ref/doc/uid/
20000244-BBCDGFCH
setWorksWhenModal:
- (void)setWorksWhenModal:(BOOL)flag
Controls whether the receiver receives keyboard and mouse events even
when some other window is being run modally. If flag is YES, the
application object sends events to the receiver even during a modal
loop or session; if flag is NO, the receiver gets no events while a
modal loop or session is running. See “How Modal Windows Work” for
more information on modal windows and panels.
See Also: – worksWhenModal, – runModalForWindow: (NSApplication), –
runModalSession: (NSApplication)
worksWhenModal
- (BOOL)worksWhenModal
Returns YES if the receiver is able to receive keyboard and mouse
events even when some other window is being run modally, NO
otherwise. NSPanels by default return NO, indicating their
ineligibility for events during a modal loop or session. See “How
Modal Windows Work” for more information on modal windows and panels.
See Also: – setWorksWhenModal:, – runModalForWindow: (NSApplication),
– runModalSession: (NSApplication)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden