Help Center

CRichEdit.SetIMEModeBiasmethod

Sets the Input Method Editor (IME) mode bias for a Microsoft Rich Edit control.

Windowsmethoddocumented

Syntax

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

Parameters

NameDescription
hRichEditThe handle of the rich edit control.
nModeBiasIME mode bias value. It can be one of the following.
IMF_SMODE_PLAURALCLAUSE. Sets the IME mode bias to Name.
IMF_SMODE_NONE. No bias.

Return value

This message returns the new IME mode bias setting.

Description

Sets the Input Method Editor (IME) mode bias for a Microsoft Rich Edit control.

Remarks

When the IME generates a list of alternative choices for a set of characters, this message sets the criteria by which some of the choices will appear at the top of the list.

To set the Text Services Framework (TSF) mode bias, use SetCTFModeBias.

The application should call IsIME before calling this function.

Reference

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