• 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: CGrafPtr???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CGrafPtr???


  • Subject: Re: CGrafPtr???
  • From: Josh Abernathy <email@hidden>
  • Date: Sat, 15 Feb 2003 17:17:08 -0500

> From: email@hidden
> Reply-To: email@hidden
> Date: Sat, 15 Feb 2003 07:12:10 -0800
> To: email@hidden
> Subject: cocoa-dev digest, Vol 2 #1944 - 17 msgs
>
> Send cocoa-dev mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> or, via email, send a message with subject or body 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of cocoa-dev digest..."
> Message: 15
> Date: Fri, 14 Feb 2003 13:22:02 +0100
> Subject: CGrafPtr???
> From: Bartosz Smaga <email@hidden>
> To: email@hidden
>
> Hi everybody,
>
> Is possible get CGrafPtr from NSWindow? I know NSWindow is Cocoa
> (Quartz) and CGrafPtr is Carbon structure... But :-)) Is this possible
> or I have to use Carbon Windows? :-(
>
> Thx
> Best regards
> ---------------------------
> Bartosz Smaga - "SMAGA" - Macintosh Software Development
> email@hidden, http://2smaga.com
> +48501005079

You can use -[NSWindow windowRef] to get the WindowRef and from there you
can get the CGrafPtr.

- Josh
_______________________________________________
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.

  • Prev by Date: Re: Image loaded/displayed at the wrong size
  • Next by Date: Need embedded database or other solution
  • Previous by thread: CGrafPtr???
  • Next by thread: movable status items?
  • Index(es):
    • Date
    • Thread