Programatically disable an accelerator key (then re-enable it later)
Hi - I've got an accelerator defined so that a commonly used menu item is fired when the user presses the space bar. At times, I'd like to disable it, then reenable it at a later point. How can I do this? The accelerator is defined under IDR_MAINFRAME.