We have an MFC SDI application in VS2010 with a CMFCToolBar containing a CMFCToolBarEditBoxButton
. Is there a way to handle the paste event when a user pastes something into that edit box?
We handle ON_COMMAND(ID_EDIT_PASTE, OnEditPaste)
in the main window but the paste message isn't getting raised when focus is inside the CMFCToolBarEditBoxButton
.