Re: Alerts from a Preference Pane
Re: Alerts from a Preference Pane
- Subject: Re: Alerts from a Preference Pane
- From: Stephane Sudre <email@hidden>
- Date: Fri, 5 Dec 2003 17:20:09 +0100
NSBeginCriticalAlertSheet(tAlertTitle,
nil,
nil,
nil,
[aWidgetInMyPrefPane window],
self,
@selector(myAlertSheetDidEnd:returnCode:contextInfo:),
nil, NULL,
tAlertString);
On Friday, December 5, 2003, at 04:58 PM, Huyler, Christopher M wrote:
I want to display alerts from my preference pane but I'm having trouble
getting them to appear as a sheet instead of a new window. How can I
obtain the NSWindow object for System Preferences from my
NSPreferencePane subclass in order to use
beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:
Boy that's a mouthful...This is probably easier than I am making it.
--
Christopher Huyler
Computer Associates Intl.
mailto:email@hidden
_______________________________________________
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.
_______________________________________________
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.