2004-09-27 11:22 AM - last edited on 2023-08-07 12:15 PM by Doreena Deng
2004-09-28 12:51 AM
Oleg wrote:I use modeless dialogs for 'About' windows. It works well, but they don't do much either. It can be a bit confusing from a user's point of view because window commands like 'Close' don't apply to it, and close the window behind instead.
The API doc states:
"API-based Add-Ons CANNOT handle modeless dialog boxes. Use Palettes
instead."
2004-09-28 08:48 AM
Ralph wrote:I want complex (multiwindow) modeless dialogs, like the GDL object editor.
I use modeless dialogs for 'About' windows. It works well, but they don't do much either. It can be a bit confusing from a user's point of view because window commands like 'Close' don't apply to it, and close the window behind instead.
What kind of effect are you trying to achieve?
2004-09-28 05:33 PM
2004-09-28 06:55 PM
Akos wrote:Akos, thank you for the information.
ArchiCAD keeps track of the window order internally. In that order, modeless dialogs (e.g. the floor plan window) have a special place, and they also have a quite complex internal registration mechanism, which is not available through the API.
Akos wrote:When modal dialog is open it is impossible to use a palette or the menu.
You can do most of the things you need modeless dialogs for from a modal dialog. For example, you can switch between databases. Or maybe you can split the interface interface between modal dialogs and palettes.
Akos
2004-09-28 07:10 PM
Oleg wrote:I hope GS will do what they can in the SDK to support your efforts, Oleg, as this would be a huge benefit to GDL and API coders!
I only reflect on a possible experimental project.
It is like a visual resource editor, it would looks like the VC2003
form editor, but using only GS API for DG Controls and almost platform independent.
For example for GDL UI Script editor or grc dialog editor.