Re: New Document Behavior
Re: New Document Behavior
- Subject: Re: New Document Behavior
- From: James Spencer <email@hidden>
- Date: Tue, 12 Oct 2004 20:37:13 -0500
On Oct 11, 2004, at 9:15 PM, Jacob Lukas wrote:
Try subclassing your document's window controller (I'm not quite sure how to do this) and implementing <x-tad-bigger>windowDidBecomeMain:</x-tad-bigger> or <x-tad-bigger>windowDidBecomeKey:</x-tad-bigger>. Then orderFront: your panel. You'll need to pass your window controller a flag to tell it if it's a new document. Remember to change the flag when you move the panel to the front otherwise it'll bring it to the front every time you click on your document.
See my reply to Eric Buck but I had tried both of these and unfortunately they don't work. Thank you very much for the suggestions though.
James P. Spencer
Rochester, MN
email@hidden
"Badges?? We don't need no stinkin badges!"
_______________________________________________
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