How to change keyboard parameters from another program
Program parameters are stored in the
HKEY_CURRENT_USER\Software\ComfortSoftware\hvk registry key.
Once your program has changed some parameters in the system registry, our program needs to load them again. This can be done by sending a windows message containing the WM_USER + 196 code to the program:
WM_CSRELOADOPTIONS = WM_USER + 196;
PostMessage(FindWindow('TFirstForm', 'hvkFirstForm'), WM_CSRELOADOPTIONS, 0, 0);
This command allows you to do the following:
- Change the interface language (labels on system keys) according to the currently selected input language
- Change the keyboard transparency
- Change the keyboard size
- Temporarily disable the "Show the on-screen keyboard when the text cursor is visible" parameter
- Temporarily disable the word autocomplete feature
- Change the program settings access limitation without reloading the program
See also:
Registry Values
Return to Developer Center