Share via


ICM_SETMODE

4/8/2010

This message is sent to a window to set the editing mode of the InkCanvas control to indicate writing, deleting or selecting ink.

Syntax

ICM_SETMODE
        lparam = (LPARAM) 0;
        wParam = (WPARAM) (IC_EDITINGMODE) editingmode;

Parameters

  • editingmode
    Specifies the editing mode as a value of the following enumeration.

    enum IC_EDITINGMODE

    {

    IC_EDITINGMODE_INK = 1,

    IC_EDITINGMODE_SELECT = 2,

    IC_EDITINGMODE_DELETE = 3

    };

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