IMC_SETCANDIDATEPOS command

Instructs an IME window to set the position of the candidates window. To send this command, the application uses the WM_IME_CONTROL message with the parameter settings shown below.

LRESULT IMC_SETCANDIDATEPOS

Parameters

wParam

Set to IMC_SETCANDIDATEPOS.

lParam

Pointer to a CANDIDATEFORM structure that contains the x coordinate and y coordinate for the candidates window. The application should set the dwIndex member of this structure.

Return Value

Returns 0 if successful, or a nonzero value otherwise.

Remarks

This command is intended for applications that display composition characters on their own but use the IME window to display candidates.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Imm.h (include Windows.h)

See also

Input Method Manager

Input Method Manager Commands

CANDIDATEFORM

WM_IME_CONTROL