ITextHost::TxGetBackStyle method

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.

ValueMeaning
TXTBACK_TRANSPARENT

Background shows through.

TXTBACK_OPAQUE

Background does not show through.

 

Return value

Type: HRESULT

The return value is S_OK.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Textserv.h

DLL

Msftedit.dll

See also

ITextHost
Windowless Rich Edit Controls Overview

 

 

Community Additions

ADD
Show:
© 2015 Microsoft