Skip to content

Latest commit

 

History

History
177 lines (130 loc) · 5.11 KB

nf-textserv-itexthost-txscrollwindowex.md

File metadata and controls

177 lines (130 loc) · 5.11 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:textserv.ITextHost.TxScrollWindowEx
ITextHost::TxScrollWindowEx (textserv.h)
Requests the text host to scroll the content of the specified client area.
ITextHost interface [Windows Controls]
TxScrollWindowEx method
ITextHost.TxScrollWindowEx
ITextHost::TxScrollWindowEx
SW_ERASE
SW_INVALIDATE
SW_SCROLLCHILDREN
SW_SMOOTHSCROLL
TxScrollWindowEx
TxScrollWindowEx method [Windows Controls]
TxScrollWindowEx method [Windows Controls]
ITextHost interface
_win32_ITextHost_TxScrollWindowEx
_win32_ITextHost_TxScrollWindowEx_cpp
controls.ITextHost_TxScrollWindowEx
controls._win32_ITextHost_TxScrollWindowEx
textserv/ITextHost::TxScrollWindowEx
controls\ITextHost_TxScrollWindowEx.htm
Controls
VS|Controls|~\controls\richedit\windowlessricheditcontrols\windowlessricheditcontrolsreference\windowlessricheditcontrolinterfaces\itexthost\itexthosttxscrollwindowex.htm
12/05/2018
ITextHost interface [Windows Controls],TxScrollWindowEx method, ITextHost.TxScrollWindowEx, ITextHost::TxScrollWindowEx, SW_ERASE, SW_INVALIDATE, SW_SCROLLCHILDREN, SW_SMOOTHSCROLL, TxScrollWindowEx, TxScrollWindowEx method [Windows Controls], TxScrollWindowEx method [Windows Controls],ITextHost interface, _win32_ITextHost_TxScrollWindowEx, _win32_ITextHost_TxScrollWindowEx_cpp, controls.ITextHost_TxScrollWindowEx, controls._win32_ITextHost_TxScrollWindowEx, textserv/ITextHost::TxScrollWindowEx
textserv.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Msftedit.dll
Windows
19H1
ITextHost::TxScrollWindowEx
textserv/ITextHost::TxScrollWindowEx
c++
APIRef
kbSyntax
COM
Msftedit.dll
ITextHost.TxScrollWindowEx

ITextHost::TxScrollWindowEx

-description

Requests the text host to scroll the content of the specified client area.

-parameters

-param dx [in]

Type: INT

Amount of horizontal scrolling.

-param dy [in]

Type: INT

Amount of vertical scrolling.

-param lprcScroll [in]

Type: LPCRECT

The coordinates for the scroll rectangle.

-param lprcClip [in]

Type: LPCRECT

The coordinates for the clip rectangle.

-param hrgnUpdate [in]

Type: HRGN

Handle to the update region.

-param lprcUpdate [in]

Type: LPRECT

The coordinates for the update rectangle.

-param fuScroll [in]

Type: UINT

Scrolling flags. This parameter can be one of the following values.

Value Meaning
SW_ERASE
Erases the newly invalidated region by sending a WM_ERASEBKGND message to the window when specified with the SW_INVALIDATE flag.
SW_INVALIDATE
Invalidates the region identified by the hrgnUpdate parameter after scrolling.
SW_SCROLLCHILDREN
Scrolls all child windows that intersect the rectangle pointed to by the lprcScroll parameter. The child windows are scrolled by the number of pixels specified by the dx and dy parameters. The system sends a WM_MOVE message to all child windows that intersect the lprcScroll rectangle, even if they do not move.
SW_SMOOTHSCROLL
Scrolls using smooth scrolling. Use the HIWORD portion of the fuScroll parameter to indicate how much time the smooth-scrolling operation should take.

-remarks

This method is only valid when the control is in-place active; calls while the control is inactive may fail.

-see-also

Conceptual

ITextHost

Other Resources

RECT

Windowless Rich Edit Controls