I am working on an application that has multiple dockable panels like Visual Studio. At some point the accelerator keys for the menu stopped working. They sometimes work depending on what panel is currently active. When they are not working pressing the alt key sets the focus to the menu bar and shows the underscores under the appropriate characters, but pressing any of the characters does not show the menu.
I've been banging my head against this for a little bit and am wondering if there is an easier way to find out what is happening to those key presses.