Re: any control over NSRunAlertPanel placing on screen
Re: any control over NSRunAlertPanel placing on screen
- Subject: Re: any control over NSRunAlertPanel placing on screen
- From: Rob Keniger <email@hidden>
- Date: Thu, 4 Dec 2008 18:22:07 +1000
On 04/12/2008, at 6:17 PM, Nick Rogers wrote:
I want the alert panel to be placed in the middle of my main window.
Is it possible?
I gather that NSRunAlertPanelRelativeToWindow() is declared
deprecated.
If you have a window-specific alert, you should use a sheet:
http://developer.apple.com/documentation/Cocoa/Conceptual/Sheets/Tasks/UsingAlertSheets.html
--
Rob Keniger
_______________________________________________
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