IMC_GETCANDIDATEPOS

An application sends this message to the IME window to retrieve the position of the candidate window. IME can adjust the position of a candidate window. An application can get the real position of candidate window to decide whether it needs to reposition it.

lParam

Address of a CANDIDATEFORM structure that receives the position of the candidate window.

The return value in the buffer specifies the client coordinates of the focus window of an application. The UI window receives this message.