CANDIDATEFORM  1RKH0D 

The CANDIDATEFORM structure contains position information for the candidate window.

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

Members

dwIndex

Candidate list identifier. Can be 0 for the first list, 1 for the second, and so on. The maximum index is 31.

dwStyle

Position style. This member can be one of the following values:

CFS_CANDIDATEPOS

Display the upper-left corner of the candidate list window at the position given by ptCurrentPos. The coordinates are relative to the upper-left corner of the window containing the list window, and are subject to adjustment by the system.

CFS_EXCLUDE

Exclude the candidate window from the area given by rcArea. The ptCurrentPos member specifies the coordinates of the current point of interest, typically the caret position.

 

ptCurrentPos

Coordinates of the upper-left corner of the candidate window or the caret position, depending on the value of dwStyle.

rcArea

Coordinates of the upper-left and lower-right corners of the exclusion area.