Replace a view in splitter window runtime.
-
I would like to know a way to change the view of a particular pane in a splitter window. It should be something like an explorer window. Where on click of any tree branch on left side of window right hand side view updates. Similarily i would like to update my view. On click of any tree node a new pane should be displayed at the same position overriding the previous pane. sample code would be highly appreciated.
-
I would like to know a way to change the view of a particular pane in a splitter window. It should be something like an explorer window. Where on click of any tree branch on left side of window right hand side view updates. Similarily i would like to update my view. On click of any tree node a new pane should be displayed at the same position overriding the previous pane. sample code would be highly appreciated.
-
There are lots of samples of code such as you describe; take a look in the articles section[^].
One of these days I'm going to think of a really clever signature.
these examples describe how to use a tree control.. what i want is to update the SPLITTER pane with a new view on click of any tree item..
-
these examples describe how to use a tree control.. what i want is to update the SPLITTER pane with a new view on click of any tree item..
Rishav Prabhakar wrote:
what i want is to update the SPLITTER pane with a new view on click of any tree item..
Then you need to handle the notifications from the
TreeView
[^] side and take some action, like redrawing the window in the other pane, when the selection changes.One of these days I'm going to think of a really clever signature.