THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/05/2010 at 01:29, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11.5
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
---------
Hello all,
i have a problem on my plugin and meaby someone can help me.
i have a tooldata plugin and a gedialog plugin, on tool init i open my dialog like this ;
MyCustomDLG * dlg; // this is public in tool data
// this is in ToolData::Init
dlg = gNew TRACER;
dlg->Open(TRUE,ID_TRACERDIALOG,-1,-1);
obiusly every time i call my tool a new dialog is opened
how i can know if my dialog is opened ? and mutch important how i can retrive a dlg pointer?
i saw dlg->IsOpen() but obiusly gNew create a new pointer every time.
thanks in advance
Franz