• 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
How to get the current screen resolution on Mac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to get the current screen resolution on Mac


  • Subject: How to get the current screen resolution on Mac
  • From: 熊佳 <email@hidden>
  • Date: Sun, 28 Sep 2008 09:00:49 +0800
  • Importance: Normal

Hi, All,    I am a newcomer, I write a simple program on mac, and want to display the main window at the center of screen, i mean the window's position should depends on the screen's width and height, so i need to get the screen resolution, who can tell me how to get it? which api is available?      Thanks James
_________________________________________________________________
一点即聊,MSN推出新功能“点我!”
http://im.live.cn/click/
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to get the current screen resolution on Mac
      • From: Uli Kusterer <email@hidden>
    • Re: How to get the current screen resolution on Mac
      • From: Andrew Farmer <email@hidden>
  • Prev by Date: How to count composed characters in NSString?
  • Next by Date: Re: showing window causes EXC_BAD_ACCESS
  • Previous by thread: Re: How to count composed characters in NSString?
  • Next by thread: Re: How to get the current screen resolution on Mac
  • Index(es):
    • Date
    • Thread