From RAD Studio API Documentation
Jump to: navigation, search


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


bool __fastcall SetImeCompositionWindow(Vcl::Graphics::TFont* Font, int XPos, int YPos);


Type Visibility Source Unit Parent
function protected
Vcl.Controls TWinControl


Sets the position and font of the composition window.

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.

See Also