Just wondering if anyone understands how CTreeView is actually implemented. When you look at the source code, the GetTreeCtrl() function just returns a pointer to itself (CTreeView). If you follow the inheritance chain, you will find that no-where does it inherit from CTreeCtrl. Can anyone shed any light?

thanks