THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/05/2003 at 16:02, xxxxxxxx wrote:
Cinema 4D Version: 8.100
Platform: Mac ;
Language(s) : C.O.F.F.E.E ;
I already asked this before. Samir helped me somehow (thank you Samir but I still can't do what I want.
Imagine the following:
I drag an object into a (lets say) edit field inside my dialog. As soon as the cursor is inside the edit field (but with the mouse button still pressed) I want the cursor to change into a pointing finger or the name of the object placed in the edit field (or both), If I still keep the mouse button pressed and move the cursor out of the edit field, I want the edit field to be empty.
If I release the mouse while the cursor is inside the edit field, the name of the object is accepted.
At the current moment, as soon as the cursor gets inside the edit field, the name is stored there. Meaning, I can't detect the the mouse button was released inside the field.
BFM_DRAG_FINISHED seems to not be working
How can I do it in COFFEE? Thank you very much in advance.
On 07/05/2003 at 15:48, xxxxxxxx wrote:
I know you don´t want to hear that but the code I gave does exactly what you want.
if(msg->GetId() == BFM_dragRECEIVE)
if(CheckDropArea(drag_TEST, msg, TRUE, TRUE))
temp = GetdragObject(msg);
else SetString(drag_TEST, "");
On 07/05/2003 at 16:17, xxxxxxxx wrote:
I loved to read that!! It worked!! I wonder why it never worked before?
Even the GuiDemo.cof plug-in from Maxon is not working.