Diogene,
This is a bit of a challenge. If you are going to allow the user to
resize with the mouse, then you ^should^ draw the handles on the edges to
indicate that you are allowing the control to be resized. You will have to
note when the user presses the button down on the edges, and then perform a
repaint operation.
You then need to track the mouse, and resize (and repaint) the control
appropriately, until the mouse button is released.
Needless to say, it's not a trivial task.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard. caspershouse.co m
"Diogene Laerzio" <di************ *@gmail.comwrot e in message
news:11******** *************@v 23g2000prn.goog legroups.com...
I'd like to allow user to resize a treeview control in a form at
runtime. What properties should I set to allow this?
Thank you.