Hi,
whenever my app opens a second preview window, I want it to be positioned at the top left corner of the desktop screen.

I have come across two methods in NSWindow, they are:
– setFrameTopLeftPoint:
and
– cascadeTopLeftFromPoint:
But these require a point as input.
How do I calculate this point?
Also if the user has the dock vertical on the left side, how do I adjust for that?
What if the user has different resolution like 800x600?

Thanks,
Nick_______________________________________________

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]

Reply via email to