I have a dialog-based MFC application. My dialog box has a menu and I'm using the technique described here to enable menu accelerators in the dialog box.
This works fine but I can't seem to find any way to implement menu command update handlers. Or, rather, I've implemented update handlers but can't seem to find a good way to get MFC to call them.
Searching the web, I've found functions like UpdateDialogControls()
to implement command update handlers for dialog child controls. But I want to do this for commands in a dialog box menu.
Any suggestions?