Topic: CMfcTabCtrl handling WM_* of messages inside .
Kind time of days. Prompt that I do not so? So is available Standard MDI application wizard VS. In a standard example there is class COutputWnd: public CDockablePane in which it is used CMFCTabCtrl for the organization , and by default there it is added three tabs (Build, Debug, Find) as objects CListBox: public CWnd. If I add the object CEmptyWnd: public CWnd that faced a problem. Mouse messages at active CEmptyWnd tab do not reach the addressee though CEmptyWnd output agent ON_WM_LBUTTONDOWN has. In WM_ the message is sent to object COutputWnd. If to delete CMFCTabCtrl and simply to use CEmptyWnd that all messages are processed by mine CEmptyWnd object. And now actually a question: why mouse messages to CListBox are processed by this object (when tab with this object is active) and when it is active tab CEmptyWnd mouse messages there at all not sent. In this case the receiver of the message in MSG.hwnd window CMFCTabCtrl which the mouse message in COutputWnd though I expected it to receive in CEmptyWnd is specified structure?