CANDIDATEFORM

This structure is used with the IMC_GETCANDIDATEPOS and IMC_SETCANDIDATEPOS messages.

typedef tagCANDIDATEFORM {
    DWORD  dwIndex;
    DWORD  dwStyle;
    POINT  ptCurrentPos;
    RECT  rcArea;
} CANDIDATEFORM;
 
dwIndex
Identifier of the candidate list. Zero is the first candidate list, one (1) is the second one, up to 31.
dwStyle
Style flag. Can be one of the following values.
Value Meaning
CFS_CANDIDATEPOS The ptCurrentPos member specifies the recommended position where the candidate list window should be displayed.
CFS_EXCLUDE The member ptCurrentPos specifies the current position of the point of interest (typically the caret position).

ptCurrentPos
Position. The meaning of this parameter depends on the value of dwStyle.
rcArea
Rectangle where no display is allowed for candidate windows. This member is used only if dwStyle is set to CFS_EXCLUDE.