• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: New Document Behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >New Document Behavior (From: James Spencer <email@hidden>)
 >Re: New Document Behavior (From: Jacob Lukas <email@hidden>)

  • Prev by Date: Re: CGShading
  • Next by Date: Re: CGShading
  • Previous by thread: Re: New Document Behavior
  • Next by thread: Re: New Document Behavior
  • Index(es):
    • Date
    • Thread