#include using namespace Upp; #define LAYOUTFILE #include struct MyApp : public WithDlgLayout { MyApp() { CtrlLayout(*this, "MyDialog"); } }; GUI_APP_MAIN { MyApp().Run(); }