Re: Customize NSAlert?
Re: Customize NSAlert?
- Subject: Re: Customize NSAlert?
- From: James Bucanek <email@hidden>
- Date: Mon, 4 Jul 2005 22:22:35 -0700
Chris Hanson wrote on Monday, July 4, 2005:
>On Jul 4, 2005, at 10:28 AM, James Bucanek wrote:
>> I can see no way of customizing the panel which NSAlert uses, nor
>> can I see an obvious way of getting NSAlert to use a panel or any
>> additional controls that are defined in a NIB.
>
>You can create an NSAlert and then ask it for its window.
Thanks Chris. I found the 'window' method a little later, but I was worried that NSAlert might use a shared NSPanel and "hacking" it might mess up other stuff. Do you (or anyone) know if NSAlert creates a new NSPanel/NSWindow every time, and is it safe to resize it and start adding controls?
--
James Bucanek <mailto:email@hidden>
_______________________________________________
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