On 17/04/2016 at 19:53, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R14
Platform: Windows ;
Language(s) : C++ ;
---------
Hi Folks,
I'm using the BFM_DRAGRECEIVE in my dialog's Message() function, to receive incoming drags from the object manager. I can get the object etc in the message, but I'm not able to get the drag release. I've tried all sorts of setups, from getting the mouse button status, to varying versions of the following:
LONG My_Dialog::Message(const BaseContainer &msg;,BaseContainer &result;)
{
switch(msg.GetId())
{
case BFM_DRAGRECEIVE:
{
if(msg.GetData(BFM_DRAG_FINISHED).GetBool() == TRUE)
{
GePrint("Drag released over dialog.."); // NOT CALLED
}
break;
}
}
return GeDialog::Message(msg,result);
}
But nothing is doing it for me. What I want to do, is know when the drag is 'dropped' in my dialog. Is there a way to do this? What's the correct procedure?
WP.