IMC_GETCANDIDATEPOS

This message is sent by an application to an IME window to get the position of the candidate window. Because the IME may adjust the candidate window position, an application uses this message to get the actual position to decide whether to reposition the window.

At a Glance

Header file: Imm.h
Windows CE versions: 2.1 and later

Syntax

msg = (UINT) WM_IME_CONTROL;
wParam = (WPARAM) IMC_GETCANDIDATEPOS;
lParam = (LPARAM) &CandForm;

Parameters

&CandForm

Pointer to the CANDIDATEFORM structure that receives the position of the candidate window

Return Values

Zero indicates success. Nonzero indicates failure.

Remarks

The returned position is in window coordinates relative to the window having the current input focus.