Re: How to get the CGDirectDisplayID?
Re: How to get the CGDirectDisplayID?
- Subject: Re: How to get the CGDirectDisplayID?
- From: Ricky Sharp <email@hidden>
- Date: Tue, 26 Apr 2005 10:58:59 -0500
On Tuesday, April 26, 2005, at 10:48AM, Finlay Dobbie <email@hidden> wrote:
>On 4/26/05, Ricky Sharp <email@hidden> wrote:
>> CGDirectDisplayID is a pointer to a struct, so it's just some 32-bit
>> value. Thus, you can do this:
>>
>> CGDirectDisplayID theCGDisplayID = (CGDirectDisplayID) [theNSNumber
>> intValue];
>
>You should probably use pointerValue.
That would definitely be more correct. Thanks for pointing that out.
--
Rick Sharp
Instant Interactive(tm)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden