The Splitter Bar In Class Place

Coordinator
Jun 16, 2014 at 6:07 PM
Now, Nana provides an easy way to create a splitter bar.
int main()
{
    using namespace nana::gui;

    form fm;
    textbox left(fm), right(fm);

    place plc(fm);
    plc.div("<a>|<b>");
    plc.field("a") << left;
    plc.field("b") << right;
    plc.collocate();
    fm.show();
    exec();
}
The character | in div-text represents a splitter bar.