It's actually already doing what you want, you just can't see it because the tree is not the active control. Add a function call SetActiveCtrl to make the tree control the active control and you will see the solid highlight instead of the outline.
Best Regards,
Chris Matthews
National Instruments