[interfacekit] Re: small problem...
- From: "Ingo Weinhold" <bonefish@xxxxxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Sat, 19 Jul 2003 16:35:11 +0200 CEST
On Sat, 26 Oct 2002 12:04:14 +0300 "Adi Oanca" <adioanca@xxxxxxxxxxxxx>
wrote:
> Because I don't feel like searching... I'll ask you guys:
>
> void DragMessage(BMessage *message, BBitmap *image, BPoint point,
> BHandler *replyTarget = NULL)
>
> "image", is a bitmap that the user can drag. The bitmap is
> automatically
> freed when the message is dropped.
>
> How?
delete?! ;-)
Well, the BeBook is bit unprecise here. The supplied bitmap object is
already deleted in DragMessage(). I don't know, how D&D is planned to
be implemented, but I suspect, the the data (drag message, bitmap,...)
are handed over to the app server, which manages the D&D process
(sending messages to the concerned windows). Maybe the bitmap data are
cloned, or maybe they are somehow detached from the bitmap to avoid
copying...
CU, Ingo
- Follow-Ups:
- [interfacekit] Re: small problem...
- From: Adi Oanca
- References:
- [interfacekit] small problem...
- From: Adi Oanca
Other related posts:
- » [interfacekit] small problem...
- » [interfacekit] Re: small problem...
- » [interfacekit] Re: small problem...
- » [interfacekit] Re: small problem...
- » [interfacekit] Re: small problem...
- » [interfacekit] Re: small problem...
- [interfacekit] Re: small problem...
- From: Adi Oanca
- [interfacekit] small problem...
- From: Adi Oanca