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