Re: "Visible at Launch" again, with "least" example
Re: "Visible at Launch" again, with "least" example
- Subject: Re: "Visible at Launch" again, with "least" example
- From: Dale Jensen <email@hidden>
- Date: Tue, 3 Jul 2007 21:56:59 -0500
On Jul 3, 2007, at 9:04 PM, PGM wrote:
How about using a modal panel to show the EULA? If you do this in
your document's windowControllerDidLoadNib method, the modal will
appear before the window appears (if I recall correctly).
A very ugly hack that I have used to make a document window
disappear before it is shown (without a flash) is by calling the
following method in windowControllerDidLoadNib.
Thanks, Patrick, but I did indeed wind up rewriting the window
handler to not open a window at all until the EULA has been agreed to.
Given all of the developers who may be moving from Carbon to Cocoa as
a result of the 64-bit business, the IB team should probably redefine
what "Visible at Launch" is labelled with, as most will, like me,
assume that it gives control over visibility (there's a single
setting in a "traditional" Mac OS window to affect visibility, and
it's pretty much absolute. It doesn't appear that there's any such
thing for a NSDocument window.)
dale
--
a.d. jensen -- email@hidden http://homepage.mac.com/adjensen/
musical blog: dining blog:
http://kandsmil.blogspot.com http://gcdining.blogspot.com
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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