I have a command plugin with a dialog.
Which message do I receive when I close this dialog?
This is how I checked for a close dialog.
class MyDialog(gui.GeDialog):
def Message(self, msg, result):
id = msg.GetId()
#print "id: ", id
if (id == c4d.C4DPL_END):
print "Plugin closed."
return gui.GeDialog.Message(self, msg, result)