The registry contains the "Input Method" key under HKEY_CURRENT_USER\Control Panel. The Input Method key has four value names: Perpendicular Distance, Parallel Distance, Perpendicular Tolerance, and Parallel Tolerance. The near caret operation IME can reference it. If these four value names are not specified, an near operation IME can set a default value.
Value Name | Value Data |
Perpendicular Distance | The distance is perpendicular to the text escapement. This is the perpendicular distance, in pixels, from the caret position to the composition window without font height and width. The near caret operation IME adjusts the composition window position according to this value and Parallel Distance. It is in REG_DWORD format. |
Parallel Distance | The distance, in pixels, is parallel to the text escapement. This is the parallel distance from caret position to composition window. It is in REG_DWORD format. |
Perpendicular Tolerance | The tolerance, in pixels, is perpendicular to the text escapement. This is the perpendicular distance from caret position to composition window. The near caret operation IME will not refresh its composition window if the caret movement is within this tolerance. It is in REG_DWORD format. |
Parallel Tolerance | The tolerance, in pixels, is parallel to the text escapement. This is the parallel distance from caret position to composition window. It is in REG_DWORD format. |
An IME can put the per user setting into the following registry location:
HKEY_CURRENT_USER Software <CompanyName> Windows CurrentVersion <IME Name>.
An IME can put the per computer setting into the following registry location:
HKEY_LOCAL_MACHINE Software <Company Name> Windows CurrentVersion <IME Name>.