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