Re: How to reproduce NSComboBox popup window behavior?
Re: How to reproduce NSComboBox popup window behavior?
- Subject: Re: How to reproduce NSComboBox popup window behavior?
- From: <email@hidden>
- Date: Mon, 20 Oct 2003 10:20:35 -0700
- Thread-topic: Re: How to reproduce NSComboBox popup window behavior?
Make your "pop-up" window an NSPanel and tell it that it works when modal.
- (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)
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/ObjC_classic/Classes/NSPanel.html#//apple_ref/doc/uid/20000244/worksWhenModal
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.