With this code I get one treeview to the left, one splitter in the middle and a listview on the right. But how can I put another splitter (but this horizontal) to the right dividing the list view into for example two listviews???
thanks
// Create TreeView, ListView, and Splitter controls.
TreeView* treeView1 = new TreeView();
ListView* listView1 = new ListView();
Splitter* splitter1 = new Splitter();
// Set the TreeView control to dock to the left side of the form.
treeView1->Dock = DockStyle::Left;
// Set the Splitter to dock to the left side of the TreeView control.
splitter1->Dock = DockStyle::Left;
// Set the minimum size the ListView control can be sized to.
splitter1->MinExtra = 100;
// Set the minimum size the TreeView control can be sized to.
splitter1->MinSize = 100;
// Set the ListView control to fill the remaining space on the form.
listView1->Dock = DockStyle::Fill;
Control* temp0 [] = {listView1, splitter1, treeView1};
this->Controls->Contains(temp0);
thanks
// Create TreeView, ListView, and Splitter controls.
TreeView* treeView1 = new TreeView();
ListView* listView1 = new ListView();
Splitter* splitter1 = new Splitter();
// Set the TreeView control to dock to the left side of the form.
treeView1->Dock = DockStyle::Left;
// Set the Splitter to dock to the left side of the TreeView control.
splitter1->Dock = DockStyle::Left;
// Set the minimum size the ListView control can be sized to.
splitter1->MinExtra = 100;
// Set the minimum size the TreeView control can be sized to.
splitter1->MinSize = 100;
// Set the ListView control to fill the remaining space on the form.
listView1->Dock = DockStyle::Fill;
Control* temp0 [] = {listView1, splitter1, treeView1};
this->Controls->Contains(temp0);