Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Overriding Key method disable tab browsing
Overriding Key method disable tab browsing [message #53724] |
Fri, 24 April 2020 18:03 |
Giorgio
Messages: 218 Registered: August 2015
|
Experienced Member |
|
|
Hi there,
I had been using RegisterSystemHotKey to allow users to perform some actions in my application. The shortcoming of this approach is that the registration is system wide, so other application cannot use the registered key. Users have been complaining for that for a while, so I investigated the issue and found that overriding the Key method would permit to restrict the usage to a specific window. Below is my code.
bool Key(dword keys, int count){
if(keys==K_F10){
HandleF10();
return true;
}
return false;
}
The problem with this solution is that the user cannot move between fields using the tab key.
Is there a way to fix that?
Thanks,
gio
|
|
|
|
|
|
Goto Forum:
Current Time: Thu Jun 13 05:29:11 CEST 2024
Total time taken to generate the page: 0.01998 seconds
|