Hi,
It can probably be cheated by sending corresponding keyboard messages. But I
believe no programmatic way is exposed by the TreeView.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"kidzero" <kidzero@takas.lt> wrote in message
news:eR901UzhDHA.4024@TK2MSFTNGP11.phx.gbl...[color=blue]
> Hello,
>
> Is there any easy way to control treeview selection ?
> For example if user pushes button "next" treeview control selects next[/color]
node.[color=blue]
> if user pushes button "prev" treeview control selects previous node.
> I asked because by default in treeview control if you press arrow keys[/color]
such[color=blue]
> as "up" or "down"
> it automaticly selects next or previous node.
> Ofcourse i can code all node selection stuff, but maby there is another[/color]
easy[color=blue]
> way.
>
> Martin.
>
>[/color]