ICM_SETAUTOEXPAND

4/8/2010

This message is sent to a window to turn canvas expansion on or off for the InkCanvas control. When enabled, the canvas is expanded when the user inks near the edge of the canvas. Canvas expansion happens in both directions.

This can be enabled only for variable canvas types.

This message is different from autoscroll. This merely expands the canvas but does not neccessarily scroll it.

Syntax

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

Parameters

  • vbAutoScroll
    A VARIANT_BOOL value that indicates whether expansion 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