runModalForWindow misplaces window
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.