Platform SDK: International Features

IMC_SETCANDIDATEPOS

An application sends the IMC_SETCANDIDATEPOS command to an IME window to set the position of the candidate window. This command is intended for applications that display composition characters on their own but use the IME window to display candidates.

To send this command, use the WM_IME_CONTROL message with wParam and lParam set as follows.

Parameters

wParam
Set to IMC_SETCANDIDATEPOS.
lParam
Pointer to a CANDIDATEFORM structure that contains the x- and y-coordinates for the candidate window. The application should set the dwIndex member of this structure.

Return Values

Return zero if successful, nonzero otherwise.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Imm.h.

See Also

Input Method Editor Overview, Input Method Editor Commands, CANDIDATEFORM, WM_IME_CONTROL