1. Open Visual Studio.NET 2005 editor and create a new C# Windows project
2. Open Form1 in designer mode
3. Drag and drop a TreeView control on the Form1
4. Add few nodes to the TreeView control(use the property Nodes to add nodes)
5. Set the property DrawNode of the TreeView control to OwnerDrawText
6. Add the following code to DrawNode event of the TreeView control and execute the project. That's all you see selected nodes in red color.