ICM_SETNOTIFICATIONMASK

4/8/2010

This message is sent to a window to set the mask of notifications an application wants to receive from the InkCanvas control.

Syntax

ICM_SETNOTIFICATIONMASK
    wparam = (WPARAM) 0;
    lParam = (LPARAM) (LONG) lMask;

Parameters

  • lMask
    Specifies the bitwise OR of the notifications that the canvas provides.

    The following values are possible notification masks that an application can set.

    Mask Value Description

    ICMASK_CHAR

    0x00000001

    Mask set to receive the ICNM_CHAR notification.

    ICMASK_STROKEADDED

    0x00000002

    Mask set to receive the ICNM_STROKEADDED notification.

    ICMASK_STROKEDELETED

    0x00000004

    Mask set to receive the ICNM_STROKEDELETED notification

    ICMASK_DEFAULT

    0x00000001

    The default mask is equivalent to ICMASK_CHAR. Only forwards the ICNM_CHAR notification.

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