• 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: Convert PICT to NSImage (SOLVED)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convert PICT to NSImage (SOLVED)


  • Subject: Re: Convert PICT to NSImage (SOLVED)
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 28 Jun 2005 12:59:00 -0400
  • Organization: Rogue Research

On 2005-06-28 09:32, Ian was here said:

>HLock( (Handle)thePict );
>
>NSData		*pictData = [NSData dataWithBytes:*thePict
>length:GetHandleSize( (Handle)thePict )];
>
>HUnlock( (Handle)thePict );

FYI, HLock() is being deprecated and in fact does nothing on OS X...
Don't bother with it.  See MacMemory.h for details.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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

References: 
 >RE: Convert PICT to NSImage (SOLVED) (From: Ian was here <email@hidden>)

  • Prev by Date: Re: Convert PICT to NSImage (SOLVED)
  • Next by Date: receiving global keyDown events
  • Previous by thread: Re: Convert PICT to NSImage (SOLVED)
  • Next by thread: receiving global keyDown events
  • Index(es):
    • Date
    • Thread