Simulate Mnemonic Keys
-
Hi, I've an application that allows user to switch GUI language mnemonic keys (ALT + F for File menu) works in english mode i need to give the same shortcuts for the user even in non-english language modes where "&File" for menu is changed with some other strings without "&" in it How can i do that ? thanks in advance
-
Hi, I've an application that allows user to switch GUI language mnemonic keys (ALT + F for File menu) works in english mode i need to give the same shortcuts for the user even in non-english language modes where "&File" for menu is changed with some other strings without "&" in it How can i do that ? thanks in advance
Menu item mnemonics are generally handled by Accelerators (in your resources). You could look into discarding and reloading a different set of Accelerators. Barring that, you could use
PreTranslateMessage
at the application level to handle the key combinations and trigger commands from there, but that would be kinda kludgy. Peace! -=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites (Please rate this post!) -
Menu item mnemonics are generally handled by Accelerators (in your resources). You could look into discarding and reloading a different set of Accelerators. Barring that, you could use
PreTranslateMessage
at the application level to handle the key combinations and trigger commands from there, but that would be kinda kludgy. Peace! -=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites (Please rate this post!)Hi, Thanks James