CRichEdit.SetCTFModeBiasmethod
Sets the Text Services Framework (TSF) mode bias for a Microsoft Rich Edit control.
Syntax
FUNCTION SetCTFModeBias (BYVAL hRichEdit AS HWND, BYVAL nModeBias AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
nModeBias | Mode 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