ultimatepp/uppdev/QTFHeight/main.cpp
cxl b287b3d34c Testing usvn
git-svn-id: svn://ultimatepp.org/upp/trunk@1342 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-06-28 08:21:16 +00:00

15 lines
No EOL
309 B
C++

#include <CtrlLib/CtrlLib.h>
using namespace Upp;
GUI_APP_MAIN
{
TopWindow win;
RichTextCtrl rt;
String str = "[3A^test^ Graphical introduction]";
rt = str;
rt.SetFrame(BlackFrame());
rt.NoSb();
win.Add(rt.LeftPos(10, rt.GetWidth() + 2).TopPos(rt.GetHeight(INT_MAX) + 2));
win.Run();
}