Hi!
The touch keyboard does, by default, occupy half the screen.
While can be made "windowed" by the user by configuring it so, we'd like to change this by default (as an option) when our application is installed on the computer we ship with our hardware device.
We've done a fair bit of investigation but can't find how to change this in the registry or via some API.
This is the brief report from that developer:
- There exists a “public” registry API at key HKEY_CURRENT_USER\SOFTWARE\Microsoft\TabletTip but this does not include settings for the keyboard layout.
- I used "process monitor" to analyze registry changes and found out that the relevant settings are stored in a "private hive" registry.
- A "private hive" is a "registry in a binary file", usually stored in user's appsettings folder.
- The exact filepath to the required file must be known or determined.
- I tried to find the virtual keyboard binary file on my machine but couldn't find it.
- Even when it can be found the filepath it is very likely different on other machines or may change later by an app update.
- Additionally the actual registry structure of the private hive may contain universal identifiers.
- How to inspect a "private hive"? Open regedit and load the file via the menubar option (see first link below).
- As I couldn't find the actual file in a reasonable amount of time I stopped investigation here. Bringing automatic configuration to installer via a one-line invocation is hard & overall it's probably risky to operate on Windows internals.
We'd be happy to solve this in any way, registry change, command-line yool, powershell script or some C# / C++ code are all fine, including invocation from an elevated (admin) context.
Let me know if you need more information, if there is a better place to ask about this, or more appropriate tags to use?