ITextHost::TxGetSelectionBarWidth method (textserv.h)

Returns the size of selection bar in HIMETRIC.

Syntax

HRESULT TxGetSelectionBarWidth(
  LONG *lSelBarWidth
);

Parameters

lSelBarWidth

Type: LONG*

The width, in HIMETRIC (that is, where the units are .01 millimeter), of the selection bar.

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