mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
15 lines
283 B
C++
15 lines
283 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
EditInt e;
|
|
ArrayCtrl ctrl;
|
|
ArrayOption option;
|
|
option.AddColumn(ctrl, "Test");
|
|
ctrl.AddColumn("Test2").Edit(e);
|
|
for(int i = 0; i < 21; i++)
|
|
ctrl.Add(i & 1, 23 * i);
|
|
TopWindow w;
|
|
w.Add(ctrl.SizePos());
|
|
w.Run();
|
|
}
|