• 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
Re: NSScreen - real size?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScreen - real size?


  • Subject: Re: NSScreen - real size?
  • From: Jeremy Dronfield <email@hidden>
  • Date: Thu, 31 Oct 2002 11:47:49 +0000

On Wednesday, October 30, 2002, at 08:11 pm, Ryan Stevens wrote:

Is there a simple way to get the real frame? -visibleFrame doesn't quite work, I need to know the real height.


NSRect screen = [[NSScreen mainScreen] frame];
NSSize screenSize = screen.size;
float screenHeight = screenSize.height;

-Jeremy

========================================
email@hidden // email@hidden

theLocustFarm.net:
- fractious fiction at http://freespace.virgin.net/jeremy.dronfield
========================================
_______________________________________________
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.

  • Follow-Ups:
    • Re: [Fixed] NSScreen - real size?
      • From: Ryan Stevens <email@hidden>
References: 
 >NSScreen - real size? (From: Ryan Stevens <email@hidden>)

  • Prev by Date: spaces in pahts
  • Next by Date: Re: metallized interface
  • Previous by thread: NSScreen - real size?
  • Next by thread: Re: [Fixed] NSScreen - real size?
  • Index(es):
    • Date
    • Thread