• 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
runModalForWindow misplaces window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

runModalForWindow misplaces window


  • Subject: runModalForWindow misplaces window
  • From: Matt Neuburg <email@hidden>
  • Date: Sat, 13 Jul 2002 19:11:35 -0700

We're told by the documentation not to send makeKeyAndOrderFront to a
window before running modal for that window - runModalForWindow will put
the window on the screen. True, but in my app it's also putting the window
on the screen in the wrong place! In other words, if I don't say
makeKeyAndOrderFront before saying runModalForWindow, the window appears in
the wrong place; if I do say makeKeyAndOrderFront first, I'm disobeying the
documentation, but the window appears in the right place.

Is this a Cocoa bug? Or a documentation bug? m.
--

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: IBOutlets and savePanels
  • Next by Date: Re: Carbon API with carbon
  • Previous by thread: Re: IBOutlets and savePanels
  • Next by thread: make a step-by-step wizard
  • Index(es):
    • Date
    • Thread