2018-09-02 09:19 AM
I create a dialog with GUI_CreateDialogBox(), and run the message loop in a while, calling GUI_Exec() and other task.
The reason using async shedule is that
(1) there maybe other task need short shedule, and
(2) avoid calling non-relative task in dialog;
My question is that, how to known that the dialog is destroyed and memory is freed, then I could create next dialog. e.g. the first dialog showing power on configuration, the when this one closed, then the main dialog shown.