CANDIDATEFORM


typedef tagCANDIDATEFORM {
    DWORD  dwIndex;
    DWORD  dwStyle;
    POINT  ptCurrentPos;
    RECT  rcArea;
} CANDIDATEFORM;

This structure is used with the IMC_GETCANDIDATEPOS and IMC_SETCANDIDATEPOS messages.

dwIndex

Identifier of the candidate list. 0 is the first candidate list, 1 is the second one. It is up to 31.

dwStyle

Style flag. Can be one of this 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.