Skip to content

Latest commit

 

History

History
211 lines (176 loc) · 5.78 KB

nf-textserv-itexthost-txenablescrollbar.md

File metadata and controls

211 lines (176 loc) · 5.78 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.TxEnableScrollBar
ITextHost::TxEnableScrollBar (textserv.h)
Enables or disables one or both scroll bar arrows in the text host window.
ESB_DISABLE_BOTH
ESB_DISABLE_DOWN
ESB_DISABLE_LEFT
ESB_DISABLE_LTUP
ESB_DISABLE_RIGHT
ESB_DISABLE_RTDN
ESB_DISABLE_UP
ESB_ENABLE_BOTH
ITextHost interface [Windows Controls]
TxEnableScrollBar method
ITextHost.TxEnableScrollBar
ITextHost::TxEnableScrollBar
SB_BOTH
SB_HORZ
SB_VERT
TxEnableScrollBar
TxEnableScrollBar method [Windows Controls]
TxEnableScrollBar method [Windows Controls]
ITextHost interface
_win32_ITextHost_TxEnableScrollBar
_win32_ITextHost_TxEnableScrollBar_cpp
controls.ITextHost_TxEnableScrollBar
controls._win32_ITextHost_TxEnableScrollBar
textserv/ITextHost::TxEnableScrollBar
controls\ITextHost_TxEnableScrollBar.htm
Controls
VS|Controls|~\controls\richedit\windowlessricheditcontrols\windowlessricheditcontrolsreference\windowlessricheditcontrolinterfaces\txenablescrollbar.htm
12/05/2018
ESB_DISABLE_BOTH, ESB_DISABLE_DOWN, ESB_DISABLE_LEFT, ESB_DISABLE_LTUP, ESB_DISABLE_RIGHT, ESB_DISABLE_RTDN, ESB_DISABLE_UP, ESB_ENABLE_BOTH, ITextHost interface [Windows Controls],TxEnableScrollBar method, ITextHost.TxEnableScrollBar, ITextHost::TxEnableScrollBar, SB_BOTH, SB_HORZ, SB_VERT, TxEnableScrollBar, TxEnableScrollBar method [Windows Controls], TxEnableScrollBar method [Windows Controls],ITextHost interface, _win32_ITextHost_TxEnableScrollBar, _win32_ITextHost_TxEnableScrollBar_cpp, controls.ITextHost_TxEnableScrollBar, controls._win32_ITextHost_TxEnableScrollBar, textserv/ITextHost::TxEnableScrollBar
textserv.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Msftedit.dll
Windows
19H1
ITextHost::TxEnableScrollBar
textserv/ITextHost::TxEnableScrollBar
c++
APIRef
kbSyntax
COM
Msftedit.dll
ITextHost.TxEnableScrollBar

ITextHost::TxEnableScrollBar

-description

Enables or disables one or both scroll bar arrows in the text host window.

-parameters

-param fuSBFlags [in]

Type: INT

Specifies which scroll bar is affected. This parameter can be one of the following values.

Value Meaning
SB_BOTH
Affects both the horizontal and vertical scroll bars.
SB_HORZ
Affects the horizontal scroll bar.
SB_VERT
Affects the vertical scroll bar.

-param fuArrowflags [in]

Type: INT

Specifies which scroll bar arrows are enabled or disabled. This parameter can be one of the following values.

Value Meaning
ESB_DISABLE_BOTH
Disables both arrows on a scroll bar.
ESB_DISABLE_DOWN
Disables the down arrow on a vertical scroll bar.
ESB_DISABLE_LEFT
Disables the left arrow on a horizontal scroll bar.
ESB_DISABLE_LTUP
Disables the left arrow on a horizontal scroll bar or the up arrow of a vertical scroll bar.
ESB_DISABLE_RIGHT
Disables the right arrow on a horizontal scroll bar.
ESB_DISABLE_RTDN
Disables the right arrow on a horizontal scroll bar or the down arrow of a vertical scroll bar.
ESB_DISABLE_UP
Disables the up arrow on a vertical scroll bar.
ESB_ENABLE_BOTH
Enables both arrows on a scroll bar.

-returns

Type: BOOL

Return nonzero if the arrows are enabled or disabled as specified.

Return zero if the arrows are already in the requested state or an error occurs.

-remarks

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

-see-also

ITextHost

Windowless Rich Edit Controls Overview