THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/11/2009 at 05:03, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.5
Platform: Windows ;
Language(s) : C++ ;
---------
I have a problem with my GeDialog object. When i lost the focus, i want catch the message and reactivate the dialog. But i havent found a function. I tried Activate(LONG id), but nothing happened. Then i have tried to open the dialog again and ... , but without success too. I got only a GOTFOCUS message, but the dialog wasn
t active.
Here is my code:
if(msg.GetId() == BFM_GOTFOCUS)
{
GePrint("got");
return TRUE;
}
if(msg.GetId() == 1649165891) //~ focus lost
{
GePrint("lost");
//this->Open(TRUE, ID, -1, -1, 50, 50);
//CallCommand(ID);
BaseContainer m(COREMSG_CINEMA_EXECUTEEDITORCOMMAND);
m.SetLong(COREMSG_CINEMA_EXECUTEEDITORCOMMAND, ID);
SendCoreMessage(COREMSG_CINEMA, m);
//EventAdd(EVENT_0);
}
Does anyone know a solution for these problem?
Best,
coffeemax