Use M$'s common controls treeview (on the left) and list view (on the right)
To have the movable splitter bar. Place an image control just between the
two.
Set it's MouseIcon to the <-|-> icon (as in look for a cursor that looks
like that)
then set it's MousePointer to 99-Custom.
Then use a boolean variable to know when the splitter is moving. then resize
both controls
appropriately! (Use MouseMove,MouseUp,and MouseDown events)
HTH
john :-? (smiley face with a lisp, [reminds me of stallone]-LOL.)
-----Original Message-----
From: bounce-pro_vb-478924@p...
[mailto:bounce-pro_vb-478924@p...]On Behalf Of Hemantha Kumar
Reddy K
Sent: Wednesday, October 24, 2001 12:47 PM
To: professional vb
Subject: [pro_vb] How can I use Splitter Bar in VB
Hi all,
In my application I want to use Splitter Bar like Windows Explorer, where
at left side it will have a tree of nodes. By selecting a node in that
tree the right side view should change depends upon the type of content in
the selected node.
thx
Reddy