ultimatepp/bazaar/CtrlPosTest/CtrlPosTest.h
kohait 58bb5f1dc7 bazaar: CtrlPos major bugfixes, properly drag controls into others using ALT and changing order using wheel
git-svn-id: svn://ultimatepp.org/upp/trunk@3297 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-03-22 18:54:35 +00:00

41 lines
798 B
C++

#ifndef _CtrlPosTest_CtrlPosTest_h
#define _CtrlPosTest_CtrlPosTest_h
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
#define LAYOUTFILE <CtrlPosTest/CtrlPosTest.lay>
#include <CtrlCore/lay.h>
#include <CtrlPos/CtrlPos.h>
class CtrlPosTest : public TopWindow {
public:
typedef CtrlPosTest CLASSNAME;
CtrlPosTest();
void VisitCB();
void ClearCB();
void EnableCB();
void DisableCB();
void DeepCB();
void FrameCB();
void ViewCB();
void ToInfo(const String& s);
void OnSelect(Ctrl& c, Point p, dword keyflags);
WithCtrlPosTestLayout<ParentCtrl> vis;
FrameLeft<WithLeftBarLay<ParentCtrl> > sb;
CtrlPos hk;
FrameTop<WithControlLay<StaticRect> > ft;
EditString es;
StaticText st;
FrameBottom<WithBotLay<ParentCtrl> > bot;
};
#endif