I have a form with a treeview and listview. When a particular item in the treeview is selected I want the listview to become invisible and a form (kinda like properties) to show in it's place. So the treeview will remain but the listview is replaced with a properties page (not a popup though, just sitting to the treeview's right side).

I know how to make the listview invisible, but how do I get a control next to the treeview to put my editable controls (text, check, etc) on? I was thinking a frame?

Anyone got any code that does something similar?