Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't get right Theme Background? What is it?



On 11/29/05 7:56 PM, David M. Cotter didst favor us with:

> DOH!  Now I remember why I was *forced* to use offscreens!!
> 
> It's the only way to get the thing into a drag image!!
> 
> 
> 
> I'd like to special case for when we're building the drag image,
> obviously, and ONLY use the offscreen then, but there is no callback
> that i'm aware of to inform me that "during THIS particular draw
> call, the destination is a drag image offscreen, so you have to take
> special precautions"

You can get a CGImage of the entire DataBrowser using
HIViewCreateOffscreenImage. There's probably some way to a subset of that
into a rectangle, though I don't know what it is. In Tiger you should be
able to use CGImageCreateWithImageInRect to create the image you need.

Larry

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Can't get right Theme Background? What is it? (From: "David M. Cotter" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.