Re: [Fixed] NSScreen - real size?
Re: [Fixed] NSScreen - real size?
- Subject: Re: [Fixed] NSScreen - real size?
- From: Ryan Stevens <email@hidden>
- Date: Thu, 31 Oct 2002 11:25:26 -0800
Thanks to those that replied!
Just a re-cap on how to get the real screen size for the list archives.
;-)
On Wednesday, October 30, 2002, at 01:25 PM, Jean-Michel Vallat wrote
(roughly):
#import <ApplicationServices/ApplicationServices.h>
{
CGDisplayPixelsWide(kCGDirectMainDisplay),
CGDisplayPixelsHigh(kCGDirectMainDisplay));
}
----
Check "CGDirectDisplay.h" for more information about the
'CGDirectDisplayID'.
On Thursday, October 31, 2002, at 03:47 AM, Jeremy Dronfield wrote
(roughly):
NSRect screen = [[NSScreen mainScreen] frame];
_______________________________________________
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.