Düzenle

Aracılığıyla paylaş


EM_SHOWSCROLLBAR message

Shows or hides one of the scroll bars in the host window of a rich edit control.

Parameters

wParam

Identifies which scroll bar to display: horizontal or vertical. This parameter must be SB_VERT or SB_HORZ.

lParam

Specifies whether to show the scroll bar or hide it. Specify TRUE to show the scroll bar and FALSE to hide it.

Return value

This message does not return a value.

Remarks

This method is only valid when the control is in-place active. Calls made 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]
Header
Richedit.h

See also

Reference

EM_GETSCROLLPOS

EM_SETSCROLLPOS