I'm trying to figure out how to route the windows messages in the following scenario.
I have the following classes
CWLSFrame - This frame handles create a static splitter window. There are only two windows. The left window is assigned the my CWLSTreeView class, and the right window is assigned to my CWLSEntityView class.
CWLSTreeView - This class takes care of the TreeCtrl and inserts items into the tree. It also receives the message when the user changes the currently selected tree item.
CWLSEntityView - A generic view class of the Tree.
CWLSSoundView - When the user selects a "sound item" in the tree, I want it to use this view.
I understand how to manipulate the above classes into the different views. My question is, when a user changes their selection in the Tree. How can I get this message to the CWLSFrame so that it can change the splitter window?
Thanks in advance