#128 CCommandBar, Keyboard Cues "stuck"

v1.0 (example)
closed-fixed
None
5
2014-03-21
2006-06-03
Anonymous
No

The keyboard cues can remain stuck. I've found at
least two ways:
Create an SDI app with a form view. Add some edit box
and a combo box. In the OnInitDialog fill the combo
box with items.
Launch.

Go to an edit box. Press alt. release. The "file"
menu will be highilighted. Now click with the mouse
on the edit box. The keyboard cues remain.

Now make the key cues disappear. Open the ComboBox
and with the mouse go over an item and press
Alt+Letter (for example Alt-F) then the menu won't
open but the keyboard cues will remain "stuck"

Discussion

  • Fixed first issue by adding OnKillFocus handler.

    Second issue is because combo is trapping Alt+key combinations, so I don't think that we can do something for that.

    Commit #546, atlctrlw.h

     


Anonymous


Cancel   Add attachments