B
bonk
I am trying to create a simple Form using .NET CF 2.0 that displays two
Treeviews Side-by-Side in case the device is running in landscape mode. When
the user switches to portait mode, the two treeviews shall be displayed on
top of each other. Also the user should be able to resize the two controls
by moving a horizontal (or vertical) bar. I felt that the splitter is the
perfect control for that. But unfortunately I am not sure what to do to make
it work. No matter what I do, the splitter can not be resized. I set
treeview1.dock to top, I set splitter.dock to top and I set treeview2.dock
to fill. What else do I need to do to make the splitter resizable and to
chnage the oriantation upon switch to landscape mode. Is t here an event for
the landscape/potrait mode change ?
Also the msdn says that Spiltter is now obsoloete and I should now use the
SplitContainer. But the Viusal Designer of VS 2005 does not have support
for the SplitConatainer. At east I cannot find it in the toolbox.
Treeviews Side-by-Side in case the device is running in landscape mode. When
the user switches to portait mode, the two treeviews shall be displayed on
top of each other. Also the user should be able to resize the two controls
by moving a horizontal (or vertical) bar. I felt that the splitter is the
perfect control for that. But unfortunately I am not sure what to do to make
it work. No matter what I do, the splitter can not be resized. I set
treeview1.dock to top, I set splitter.dock to top and I set treeview2.dock
to fill. What else do I need to do to make the splitter resizable and to
chnage the oriantation upon switch to landscape mode. Is t here an event for
the landscape/potrait mode change ?
Also the msdn says that Spiltter is now obsoloete and I should now use the
SplitContainer. But the Viusal Designer of VS 2005 does not have support
for the SplitConatainer. At east I cannot find it in the toolbox.