That sounds really logical to me . But I do not really know a way to pass that pointer to the CMyTreeCtrl class. As far as I know, I do not (explicitly) call the constructor or any other function from CMyTreeCtrl from within CMyDialog. This all gets done mysteriously (for me ) by MFC. So what is the best way to pass along a pointer to CMyTreeCtrl?