CRichEdit.ShowScrollBarmethod
Shows or hides one of the scroll bars in the Text Host window.
Syntax
SUB ShowScrollBar (BYVAL hRichEdit AS HWND, BYVAL nScrollBar AS DWORD, BYVAL fShow AS LONG)
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
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 host window of a rich edit control.
Remarks
This message is only valid when the control is in-place active. Calls made while the control is inactive may fail.
Reference
- Defined in AfxNova/CRichEdit.inc:1311
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class