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

change window origin before show


  • Subject: change window origin before show
  • From: Kristine Larson <email@hidden>
  • Date: Mon, 22 Aug 2005 13:54:05 -0500

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.

any help appreciated,
Kris
_______________________________________________
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: Re: no mouseUp if mouseDown not overridden?
  • Next by Date: How do we request the source for CD's toMany management?
  • Previous by thread: Re: no mouseUp if mouseDown not overridden?
  • Next by thread: Re: change window origin before show
  • Index(es):
    • Date
    • Thread