IInkEdit::put_ScrollBars method (inked.h)

Gets or sets the type of scroll bars, if any, to display in the InkEdit control.

This property is read/write.

Syntax

HRESULT put_ScrollBars(
  ScrollBarsConstants newVal
);

Parameters

newVal

Return value

None

Remarks

For an InkEdit control with setting rtfHorizontal, rtfVertical, or rtfBoth, you must set the MultiLine property to TRUE.

At run time, the Windows operating environment automatically implements a standard keyboard interface to allow navigation in InkEdit controls with the arrow keys (UP ARROW, DOWN ARROW, LEFT ARROW, and RIGHT ARROW), the HOME and END keys, and so on.

Scroll bars are displayed only if the contents of the InkEdit control extend beyond the control's borders. If ScrollBars is set to FALSE, the control won't have scroll bars, regardless of its contents.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header inked.h
Library InkEd.dll

See also

IInkEdit

InkEdit