Hi,
I have an application which is entirely driven by keyboard (no mouse!).
In that application there's a "complex" menu where people browse buttons with...the keyboard.
Until then, browsing the buttons was done with the arrows key. I had nothing to code as, by default, this is properly managed by windows!
The "problem" is now that the users wanted the default keys of all my application to be customized!
One could for instance map the directional keys to 8(up), 5(down), 4(left), 6(right).
The best would be to simulated a keypress when those keys are pressed.
How should I please proceed, for instance, to send a "Arrow Up" key pressed event to the system...when the "8" key is pressed!
Hope that I'm clear enought..and thanks for your help!!!
I have an application which is entirely driven by keyboard (no mouse!).
In that application there's a "complex" menu where people browse buttons with...the keyboard.
Until then, browsing the buttons was done with the arrows key. I had nothing to code as, by default, this is properly managed by windows!
The "problem" is now that the users wanted the default keys of all my application to be customized!
One could for instance map the directional keys to 8(up), 5(down), 4(left), 6(right).
The best would be to simulated a keypress when those keys are pressed.
How should I please proceed, for instance, to send a "Arrow Up" key pressed event to the system...when the "8" key is pressed!
Hope that I'm clear enought..and thanks for your help!!!