Share via


ICM_SETAUTOSCROLL

4/8/2010

This message is sent to a window to enable or disable autoscrolling when the user inks near the end of the InkCanvas control's window. By default autoscroll is off. This is only applicable for scrolling vertically.

Syntax

ICM_SETAUTOSCROLL
    wparam = (WPARAM) 0;
    lParam = (LPARAM) (VARIANT_BOOL) vbAutoScroll;

Parameters

  • vbAutoScroll
    A VARIANT_BOOL value that indicates whether scrolling should be on (VARIANT_TRUE) or off (VARIANT_FALSE).

Return Value

Returns 0 if there are errors.

Requirements

Header inkctrls.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later

See Also

Concepts

Windows Mobile Ink Reference