#ifndef _CtrlPosTest2_CtrlPosTest2_h #define _CtrlPosTest2_CtrlPosTest2_h #include using namespace Upp; #include #include #define LAYOUTFILE #include class CtrlPosTest2 : public WithMainLay { public: typedef CtrlPosTest2 CLASSNAME; CtrlPosTest2(); virtual void Activate(); //keep the visiting control separated from the CtrlFinder (aka CtrlPos) //so simply visiting this TopWindow is not possible (cause of Ctrl Tree search from bottom) AutoScroller sc; WithCtrlPosTest2Layout vis; CtrlPos hk; }; #endif