2024-12-13 01:52 AM
I am programming a c++ add-on using ArchiCAD27API + Visual Studio 2019 + Windows 10.
When I press the Enter key or ESC key in the Modai Dialog, the dialog closes.
Please tell me how to stop it from closing
2024-12-16 01:58 PM
Use the PanelCloseRequested of the PanelObserver.
See the AddRenameViewPointItemDialog.cpp of Navigator_Test example.
3 weeks ago
Thank you for your reply.
My program uses DGModalDialog() and I can't perform the processing you suggested.
If you know of any other ways, please let me know.
3 weeks ago
There is DG_MSG_CLOSEREQUEST message.
But unfortunately, it is not documetnted. I use C++ dialogs, and i dont know any details, sorry.
a week ago
Thank you.
I try DG_MSG_CLOSEREQUEST.