RAD Studio VCL Reference
TWinControl.SetImeCompositionWindow Method

Sets the position and font of the composition window.

function SetImeCompositionWindow(Font: TFont; XPos: Integer; YPos: Integer): Boolean;
__fastcall Boolean SetImeCompositionWindow(TFont Font, int XPos, int YPos);

Call SetImeComposition to change the position or font of the composition window. The composition window is the window displayed by the input method editor (IME) that provides feedback to the user about what keystrokes have been typed, and how they are converted into asian characters.  

The Font parameter describes the font that the composition window should use. Setting the Font parameter to nil (Delphi) or NULL (C++) repositions the composition window without changing the font. XPos and YPos specify the desired global coordinates for the composition window. 

SetImeCompositionWindow returns true if the font and position are successfully assigned. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!