In my application I have 3 tabbed panes, I am tracking/capturing AFX_WM_ON_MOVE_TAB in my mainframe class.
The tab control sends current and previous active tab . It doesn't send its window handle.
SendMessage(AFX_WM_ON_MOVE_TAB, m_iTabBeforeDrag, m_iActiveTab);
how will I know which tab control sends this message?
Give each tab control a parent window that goes in between your mainframe and the tab. Then when the tab control sends its message to its parent, you know which tab control it came from.
Instead of:
Use: