I want my application to handle a change in the focus of edit control on a ribbon bar, so I overrode the method OnSetFocus() in a class derived from CMFCRibbonEdit. The problem is that the focus on this control is changing and this method is never called. Spy++ tool reports that the messages WM_SETFOCUS/WM_KILLFOCUS are being sent for this control. Likely reason: It looks like in intenal MFC class CMFCRibbonRichEditCtrl there is no call of CMFCRibbonEdit::OnSetFocus() method in CMFCRibbonRichEditCtrl::OnKillFocus()/OnSetFocus() methods.
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...