CloseWindow-Message

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 25/11/2002 at 09:29, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.012 
Platform:   Windows  ; Mac  ;  Mac OSX  ; 
Language(s) :     C++  ;

---------
myDialog::CoreMessage(...)
{
if (myEvent)
Close(); // <-- crash

}

i need a clear method to send a CloseWindow message to my dialog. Can you help?

aws

TZ

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 27/11/2002 at 08:53, xxxxxxxx wrote:

There was a bug with closing dialogs from timers or core messages in 7.303, but in 8.012 it's supposed to be fixed. Adding a Close() to the EVMSG_CHANGE listener in AsyncTest.cpp works fine for me.
Could you be more specific about when you call Close() and get a crash?