BetoValle Messages: 203 Registered: September 2020 Location: Brasil Valinhos SP
Experienced Member
Hi, Thanks
i create this solution , after understant about ...
void Close() override {
delete this; // now it works because it was instantiated as a pointer!!!
}
GUI_APP_MAIN
{
SMain* se;
se = (new SMain);
se->OpenMain();
se->se.Run(); //Run when associed a especific window or "Ctrl::EventLoop()" when not associed a window
// and while any window open
}