Friday 15 April 2011

Software-based Input Panel Registry Settings

Input Method Registry Values

Technically, any COM component that implements IInputMethod can be selected into the software-based input panel. The IsSIPInputMethod subkey is a shortcut that presents a list of IMs to the user without loading and querying each object for IInputMethod.
IMs are installed in the system as in-process COM servers by using standard COM registry keys. The HKEY_CLASSES_ROOT\CLSID key contains subkeys that represent COM components. The subkeys are textual representations of class identifiers (CLSID). The CLSID subkeys contain an InprocServer32 subkey with a default value. This value specifies the DLL path that implements the component. The CLSID subkeys also contain an IsSIPInputMethod subkey that has a default value that is equal to the 1 string. The following table shows examples of IM registry values.



Key Default value
HKEY_CURRENT_USER\CLSID\ {4a4a96d7-ae04-11d0-a4f8-00aa00a749b9} MS QWERTY IM
HKEY_CURRENT_USER\CLSID\ {4a4a96d7-ae04-11d0-a4f8-00aa00a749b9}\ InprocServer32 \Windows\alphanum.dll
HKEY_CURRENT_USER\CLSID\ {4a4a96d7-ae04-11d0-a4f8-00aa00a749b9}\ IsSIPInputMethod 1


Input Panel Registry Settings

The HKEY_CURRENT_USER\Drivers\BuiltIn\SIP registry key is used to set the software-based input panel (SIP) settings.
The following table shows the named values for the SIP settings.
Note:
The default registry values vary depending on which Catalog items are included in your OS design. For more information, see Default Registry Settings.

Value : type Description
Prefix : REG_SZSet to "SIP".
Dll : REG_SZSet to "Softkb.dll".
Order : REG_DWORDSet to 1.
Index : REG_DWORDSet to 0.

The HKEY_CURRENT_USER\ControlPanel\SIP registry key is used to determine whether applications are allowed to change the SIP window state.
The following table shows the named values for the SIP settings.

Value : type Description
AllowChange : REG_DWORDIndicates whether an application may change the SIP window state. Set to 1 to allow the change. Because this is only read when the SIP is initialized, you must reset the target device for any changes of this registry value to take effect.
EnableSIPIconOverload : REG_DWORDAllows OEMs to overload the SIP icon for any language, including Moji languages, when the SIP is in hide state.
When set to any value other than 0, OEMs can overload the SIP icon for Moji languages while the SIP is in the hide state.
When set to 0, or if the value is not defined, the SIP icon for Moji languages cannot be overloaded while the SIP is in the hide state.
This setting does not exist by default.
DefaultIm : REG_SZIndicates the class identifier (CLSID) for the default Input Method (IM). Default setting is "{42429667-ae04-11d0-a4f8-00aa00a749b9}".
Note:
The default Input Method must be signed with a privileged or unprivileged certificate so that it can successfully load during the boot process.
DragStyle : REG_DWORDSet to 1.

The HKEY_CURRENT_USER\ControlPanel\Keybd registry key has the following values.

Value : type Description
InitialDelay : REG_DWORDDefault setting is 177. Indicates the default keyboard initial delay.
RepeatRate : REG_DWORDDefault setting is 8. Indicates keyboard autorepeat.

The HKEY_CLASSES_ROOT\CLSID\{42429667-ae04-11d0-a4f8-00aa00a749b9} registry key has the following values.

Value : type Description
@ : REG_SZSet to "LOC_KEYBOARD".
KBMode : REG_DWORDIndicates the keyboard mode associated with the default IM. Set to 5.

The HKEY_CLASSES_ROOT\CLSID\{42429667-ae04-11d0-a4f8-00aa00a749b9}\InprocServer32 registry key has the following registry value.

Value : type Description
@ : REG_SZProvides the DLL name for the default IM. Set to "\\Windows\\msim.dll".

The HKEY_CLASSES_ROOT\CLSID\{42429667-ae04-11d0-a4f8-00aa00a749b9}\IsSIPInputMethod registry key has the following registry value.

Value : type Description
@ : REG_SZIndicates whether the default IM is SIP. Set to "1" to make SIP the default.

The HKEY_CLASSES_ROOT\CLSID\{42429667-ae04-11d0-a4f8-00aa00a749b9}\DefaultIcon registry key has the following registry value.

Value : type Description
@ : REG_SZProvides the DLL location of the default icon. Set to "\\Windows\\msim.dll,0" for SIP.

The HKEY_CURRENT_USER\ControlPanel\SIP registry key has the following registry value.

Value : type Description
MenuBarHeight : REG_DWORDIndicates menu bar height in pixels. For example, if MenuBarHeight is set to 26, the SIP window will not position itself lower than 26 pixels from the bottom of the screen.

No comments:

Post a Comment