ITextServices::TxGetHScroll method (textserv.h)

Returns horizontal scroll bar information.

Syntax

HRESULT TxGetHScroll(
  LONG *plMin,
  LONG *plMax,
  LONG *plPos,
  LONG *plPage,
  BOOL *pfEnabled
);

Parameters

plMin

Type: LONG*

The minimum scroll position.

plMax

Type: LONG*

The maximum scroll position.

plPos

Type: LONG*

The current scroll position.

plPage

Type: LONG*

The view width, in pixels.

pfEnabled

Type: BOOL*

Indicates whether horizontal scrolling is enabled. If TRUE, horizontal scrolling is enabled.

Return value

Type: HRESULT

The method always returns 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

ITextServices

Windowless Rich Edit Controls Overview