Control Messages and Direct/Indirect Parent Window?
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
How does I have read articles about Control Messages and that by default they are sent to and handle by the parent of the Control... For example, when a CListBox is placed on a CDialog, using classwzard and resource editor... The messages for CListBox are automatically generated in the message map of CDialog.... But what if i have something like this.... The CListBox is placed on a DockingControlBar and the DockingCOntrolBar is placed on a CMainFrame (i.e. on a MDI application)... I want the messages from CListBox be handled by CMainFrame... Is this possible? Can i put MESSAGES from CListBox in the MESSAGE MAP of CMainFrame manually (w/o ClassWizard)?