ITfCandidateListUIElementBehavior::SetSelection method

The ITfCandidateListUIElementBehavior::SetSelection method set the selection of the candidate list.

Syntax


HRESULT SetSelection(
  [in]  UINT nIndex
);

Parameters

nIndex [in]

[in] An index for the candidate string to be selected.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_FAIL

An unspecified error occurred.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft