It's not that simple. The standard TreeView control in the ToolBox doesn't support doing this natively, so you have to make your own, or find a third party control that does this for you.
There's a couple of CP articles that cover doing something like this
here[
^] and
here[
^].