Special requirements for the window param of NSAlert beginSheetModalForWindow?
Special requirements for the window param of NSAlert beginSheetModalForWindow?
- Subject: Special requirements for the window param of NSAlert beginSheetModalForWindow?
- From: "Sean McBride" <email@hidden>
- Date: Tue, 12 May 2009 12:16:32 -0400
- Organization: Rogue Research Inc.
Hi all,
I have an NSAlert that I want to display as a sheet. I call:
[alert beginSheetModalForWindow:window
modalDelegate:nil
didEndSelector:nil
contextInfo:NULL];
the 'window' param is non-nil.
Are there special requirements for this window? Must it be frontmost?
Key? The docs don't say.
I ask because sometimes the alert is not displayed as a sheet on that
window but instead it's floating on its own, attached to no other window.
Thanks,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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