Help Center

CRichEdit.SetCTFModeBiasmethod

Sets the Text Services Framework (TSF) mode bias for a Microsoft Rich Edit control.

Windowsmethoddocumented

Syntax

FUNCTION SetCTFModeBias (BYVAL hRichEdit AS HWND, BYVAL nModeBias AS LONG) AS LONG

Parameters

NameDescription
hRichEditThe handle of the rich edit control.
nModeBiasMode bias value. This can be one of the following values below.

Return value

If successful, the return value is the new TSF mode bias value. If unsuccessful, the return value is the old TSF mode bias value.

Description

Sets the Text Services Framework (TSF) mode bias for a rich edit control.

Remarks

When a Microsoft Rich Edit application uses TSF, it can select the TSF mode bias. This message sets the criteria by which an alternative choice appears at the top of the list for selection.

To get the mode bias for the Input Method Editor (IME), use GetModeBias.

Reference

  • Defined in AfxNova/CRichEdit.inc:970
  • Documented in Windows/WIndows Controls/CRichEdit Class.md
  • Topic: CRichEdit Class