다음을 통해 공유


IMC_GETCANDIDATEPOS (Windows CE 5.0)

Send Feedback

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.

WM_IME_CONTROLwSubMessage = IMC_GETCANDIDATEPOS;lpCANDIDATENFORM = (lpCANDIDATEFORM) lParam;

Parameters

  • lpCANDIDATENFORM
    Buffer to retrieve the position of the candidate window.

Return Values

If the message is successful, the return value is zero. Otherwise, the return value is nonzero.

Remarks

In return, the IME will fill the CANDIDATEFORM structure pointed to by lpCANDIDATENFORM with the client coordinates of the application's focus window. The UI window receives this message. An application should specify lpCANIDATEFORM->dwIndex to zero ~ 3 to obtain a different candidate window position. (For example, index zero is a top-level candidate window.)

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Imm.h.

See Also

CANDIDATEFORM

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.