Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Shows or hides the scroll bar in the text host window.
Syntax
BOOL TxShowScrollBar(
[in] INT fnBar,
[in] BOOL fShow
);
Parameters
[in] fnBar
Type: INT
Specifies the scroll bar(s) to be shown or hidden. This parameter can be one of the following values.
Value | Meaning |
---|---|
SB_BOTH | Shows or hides a window's standard horizontal and vertical scroll bars. |
SB_HORZ | Shows or hides a window's standard horizontal scroll bars. |
SB_VERT | Shows or hides a window's standard vertical scroll bar. |
[in] fShow
Type: BOOL
Flag. If TRUE, the scroll bars indicated by fnBar is visible. If FALSE, the scroll bar is hidden.
Return value
Type: BOOL
Return TRUE if the method succeeds.
Return FALSE if the method fails.
Remarks
This method is only valid when the control is in-place active; calls while the control is inactive may fail.
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 |