Could we have a virtual function call when a keyboard accelerator is *removed*? (When an accelerator is added, a virtual function CMFCToolBarsCustomizeDialog::OnAssignKey() is called. It would be nice to have a similar facility when a shortcut is removed.)
My situation: I have another modeless dialogue box which lists shortcuts. In CMFCToolBarsCustomizeDialog::OnAssignKey() I post the main frame window a private message to say that the shortcuts have changed (which, by the time it is received, they have). This updates my other dialogue.
I'd like to do it also when a shorcut is removed, but I can't find a way to do that. (As a second best, I actually post the message in my derived customisation dialogue's OnDestroy() function so when the customisation dialogue exits, the other one refreshes its shortcuts.)
Mozart Music Software
For discussion and support see