The Wayback Machine - https://web.archive.org/web/20221210210155/https://github.com/libsdl-org/SDL/issues/6726
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL2: windows: alt+mnemonics not working #6726

Open
rudolfwalter opened this issue Dec 1, 2022 · 1 comment
Open

SDL2: windows: alt+mnemonics not working #6726

rudolfwalter opened this issue Dec 1, 2022 · 1 comment

Comments

@rudolfwalter
Copy link

rudolfwalter commented Dec 1, 2022

I'm porting an old level editor from MFC+DirectDraw to MFC+SDL, and I noticed that when the focus is on the panel that I use as my SDL window, I can't open menus with their corresponding alt+letter (eg, alt+f doesn't open the File menu).

I traced the problem to b11b349, which was done in response to #1590. However, I need the exact opposite behavior. I checked to be sure, and commenting out the three lines added by that commit does fix my issue.

That said, both use cases seem valid to me, so I was wondering if SDL could accommodate this. Perhaps with a new hint?

@slouken
Copy link
Collaborator

slouken commented Dec 1, 2022

Sure, feel free to create a PR with a new hint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants