Quit Cinema4D
-
On 29/08/2014 at 05:15, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 13.061
Platform: Windows ;
Language(s) : C++ ;---------
Hello,Exist an message or hook function, which will be called before C4D closed ?
My problem if the user press the "Quit" menu entry or press in the upper right corner on the red field to quit C4D, I have to clean up some settings.Or exist an possibility to prohibit the "quit" of the tool?
regards
-
On 29/08/2014 at 06:21, xxxxxxxx wrote:
Howdy,
Cleanup is usually done in the various Free() functions that are in the data classes. Plus, there is also the main PluginEnd() function that you might use.
Adios,
Cactus Dan -
On 31/08/2014 at 23:47, xxxxxxxx wrote:
Hello,
thanks for this hints. But I need a function call, before an C4D project will be closed.
regards
Marky -
On 01/09/2014 at 03:15, xxxxxxxx wrote:
How about MSG_DOCUMENTINFO? I think that this message is only sent to SceneHooks,
but I am not absolutely sure. TheMSG_DOCUMENTINFO_TYPE_REMOVE
[URL-REMOVED] type might be what
you want.Best,
-Niklas
[URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.
-
On 01/09/2014 at 05:27, xxxxxxxx wrote:
Howdy,
The documentation says it is sent as a broadcast message. I'm assuming that means it is sent to everything? I've used it in a ToolData::Message() function, so it doesn't seem to be confined to a SceneHook.
Adios,
Cactus Dan