Most of this discussion revolves around default MFC code from CodeWizard. I created an MFC project with a Visual Studio 2008 style.
There is a class derived from CTreeCtrl. The class is called CViewTree (not the "CTreeView" class). They created this derived CTreeCtrl class to handle a TTN_SHOW message for tooltips in its OnNotify message handler.
The CViewTree class is instantiated in a DockablePane class called CFileView. I'd like the CFileView class to receive message from the CViewTree class and process them for the "FIleView". The CViewTree class has access to the click and double click messages from the CTreeCtrl but the CFile Class does not appear to have this access.
What approach is used to handle this communication in applications that have this type of left hand FileView interface? How can I get a double click on the tree and handle in CFileView?
class CViewTree : public CTreeCtrl
Re: CTreeCtrl derived class communication to parent
Class Wizard shows all the potential reflected messages for the class called CViewTree. Notifications ARE going to the parent window, CFileView, but they don't show up in Class Wizard. You have to hand code them.