How to change keyboard settings from your application

Our application's settings are stored in the HKEY_CURRENT_USER\Software\ComfortSoftware\hvk registry key.

If your software changes any of these settings in the system registry, our application will need to load them again. It can be done by sending a windows message containing the WM_USER + 196 code to our program:

WM_CSRELOADOPTIONS = WM_USER + 196;
PostMessage(FindWindow('TFirstForm', 'hvkFirstForm'), WM_CSRELOADOPTIONS, 0, 0);

This command allows you to do the following:


See also

Registry Values