On 5/7/08 8:42 PM, Philip Bridson said: >Ok very funny. Just to clarify that I had already read the >documentation, otherwise I would not even be able to get the window >to display on the screen - but thanks for pointing it out. However, >I probably worded the question wrong, so I will re-phrase it: If by >using [MyWindow center] the window does not actually center itself in >the middle of the screen is there a method available so that it will >actually be in the center of the screen? > >I am open to suggestions and directions to where I can find the >information but sarcasm is not funny and not helpful and therefore if >you cannot construct a helpful sentence then don't reply.
I wasn't being sarcastic. I was just trying to explain the likely rational for the bevaviour of the API. I suspect that back in the NeXTStep days it actually did centre it. But when NeXTStep merged with Mac OS, the behaviour was changed to match the Mac OS behaviour. In Classic Mac OS this position is called the 'alert position'. See for example the docs for the kWindowAlertPositionMainScreen constant, and contrast with kWindowCenterMainScreen. -- ____________________________________________________________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]