• 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: change window origin before show
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: change window origin before show


  • Subject: Re: change window origin before show
  • From: Matt Neuburg <email@hidden>
  • Date: Wed, 24 Aug 2005 16:41:55 -0700

On Mon, 22 Aug 2005 13:54:05 -0500, Kristine Larson <email@hidden>
said:
>Hello -
>
>  I am trying to write an application which displays windows on
>multiple monitors. I have a class which loads a window from a nib,
>then attempts to place the window on a particular monitor using
>setFrame:display, with the origin configured for the monitor it
>should show on. I have the window marked to not show on launch in the
>nib. If I try to change the origin/frame before calling
>makeKeyAndOrderFront on the window, it does not appear on the correct
>monitor. If I call makeKeyAndOrderFront, then call setFrame:display,
>it works. Is there something I am missing? I simply want to move a
>window prior to showing it.

<http://www.cocoabuilder.com/archive/message/2002/8/17/71589>

m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>



 _______________________________________________
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

  • Prev by Date: [SOLVED] Changing the Project Name in XCode
  • Next by Date: Re: Multiple instances of an app open?
  • Previous by thread: change window origin before show
  • Next by thread: How do we request the source for CD's toMany management?
  • Index(es):
    • Date
    • Thread