CRichEditCtx.ShowScrollBarmethod
Shows or hides one of the scroll bars in the Text Host window.
Syntax
SUB ShowScrollBar (BYVAL nScrollBar AS DWORD, BYVAL fShow AS LONG)
Parameters
| Name | Description | |
|---|---|---|
nScrollBar | Identifies which scroll bar to display: horizontal or vertical. This parameter must be SB_VERT or SB_HORZ. | |
fShow | Specifies whether to show the scroll bar or hide it. Specify TRUE to show the scroll bar and FALSE to hide it. |
Description
Shows or hides one of the scroll bars in the Text Host window.
Remarks
This method is only valid when the control is in-place active. Calls made while the control is inactive may fail.
Reference
- Defined in AfxNova/CRichEditCtx.inc:3053
- Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
- Topic: CRichEditCtx Class