Help Center

CRichEditCtx.GetLangOptionsmethod

Windowsmethoddocumented

Syntax

FUNCTION GetLangOptions () AS DWORD
Also documented as LangOptions — one description covers them all.

Parameters

NameDescription
lgoptions(SET) Specifies the language options. For a list of possible values, see table below.

Return value

(GET) Returns the IME and Asian language settings, which can be zero or more of the above flags.

(SET) Returns a value of 1. Call the (GET) LangOptions property to check the value.

Description

Gets/sets a rich edit control's option settings for Input Method Editor (IME) and Asian language support.

Remarks

The IMF_AUTOFONT flag is set by default. The IMF_AUTOKEYBOARD and IMF_IMECANCELCOMPLETE flags are cleared by default.

Example

(GET) PROPERTY LangOptions () AS DWORD (SET) PROPERTY LangOptions (BYVAL lgoptions AS LONG)

Reference

  • Defined in AfxNova/CRichEditCtx.inc:1341
  • Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
  • Topic: CRichEditCtx Class