You should implement a new class having the DG::ApplicationObserver as a
base, this way inheriting the virtual notification functions which will
be overridden. Then you attach the instance of your class to the
DG::Application (which is a DG::EventSou...
I added a comment to the
https://community.graphisoft.com/t5/Archicad-C-API/Modeless-Palette-ac28/m-p/642735#M10020
page, please check it, there are few words about DisposableObject also.
Here is a minimal implementation of a garbage collected palette. Using
the DG_Test owner drawn listbox palette code as a template is not
straightforward, as when the close button is pressed on it the palette
instance will not be destroyed just get a ...
Hi, there is a function in the DG.h header file: DG_DLL_EXPORT bool
CCALL DGIsInModalState (void); This can be used to decide whether a
modal dialog is open or not. And if you attach to the
DG::ApplicationObserver, you will be notified about modal st...