Hello everyone!

I'm encountering an issue with the cwMenuBar component from the RC6 widget library where it incorrectly responds to the right Alt key instead of just the left Alt/Menu key. This is causing focus to be stolen from VB6 textboxes when certain keys are pressed.

Steps to Reproduce:

Place a textbox on a form.
Attempt to type the backslash "" using the right Alt key combination (Right Alt + "").
Notice that as soon as the right Alt key is pressed, the cwMenuBar takes focus from the textbox.
I've tried setting the keycode to 0 in the event handler, but it didn't solve the issue.

Has anyone else faced this problem? If so, did you find a workaround or a fix?

Thanks in advance for your help!