How to get NSOpenPanel to open OVER service window?
How to get NSOpenPanel to open OVER service window?
- Subject: How to get NSOpenPanel to open OVER service window?
- From: Guy Umbright <email@hidden>
- Date: Sat, 18 Dec 2004 20:59:29 -0600
I have a service that displays a window to do its thing.
For adjusting the settings this window has a sheet.
On this sheet is a custom control/cell that can initiate an
NSOpenPanel to select a path. The NSOpenPanel
always opens *beneath* the service's window. How
can I get it to open over it?
To get the services window to display correctly (on top of the invoking
app)
I did have to add the following:
[o_window setLevel: NSModalPanelWindowLevel];
I tried doing the same for the NSOpenPanel, but to no effect.
1) What is the right way to get the panel to display on top?
2) Should I be doing the NSOpenPanel as a sheet? I can't imagine I
should as
it would then be a sheet over a sheet and it also seems a bit
presumeputious
for a control to initiate a sheet.
Guy
_______________________________________________
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