ITextHost::TxGetBackStyle method (textserv.h)

Requests the background style of the text host.

Syntax

HRESULT TxGetBackStyle(
  TXTBACKSTYLE *pstyle
);

Parameters

pstyle

Type: TXTBACKSTYLE*

A variable that the text host sets to indicate the background style. The style is one of the following values from the TXTBACKSTYLE enumeration.

Value Meaning
TXTBACK_TRANSPARENT
Background shows through.
TXTBACK_OPAQUE
Background does not show through.

Return value

Type: HRESULT

The return value is S_OK.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header textserv.h
DLL Msftedit.dll

See also

ITextHost

Windowless Rich Edit Controls Overview