Close button of docked dialog emits Command(id=92)
-
Hi,
a
GeDialog
docked in C4D's layout receives a call to Command() with ID 92, when user clicks the little x in the window title. I tested this in R21 to S24.Other ways to close a dialog do not show this behavior (i.e. close button of floating dialog or "Close Manager" from the hamburger menu of a dialog).
Not a big deal at all. I'm just wondering, what may be the reason or if it might be a small bug?
Cheers,
Andreas -
Hi, Andreas hope you are fine
I can indeed confirm the behavior, for me looks like a mistake, I sent an email to developers.
92 internally for GUI_DIALOG_CLOSE which seems to be ok, but in the public framework, the value is 1002.Cheers,
Maxime. -
Thanks for the info, Maxime.
-
Just get a reply and it seems because the button is created by Cinema 4D itself when docked and this button simply doesn't exist otherwise.
-
i removed the ids from the sdk. it looks like they are only used internally. there is no use in the sdk for developers.