The Windows API makes frequent use of C-style function pointers to create entities termed "callback function" or simply "callbacks". Using callback programmers were able to configure one function to report back to(call back) another unction in this application....
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....