Share via


ICNM_STROKEADDED

4/8/2010

A WM_NOTIFY message is sent to the parent of the InkCanvas control with this notification code when a stroke is added.

Syntax

ICNM_STROKEADDED
    wparam = WPARAM) (int) idCtrl;
        lParam = (LPARAM) (NMSTROKE*) pNmStroke;

Parameters

  • pNmStroke
    Pointer to an NMSTROKE structure containing information about the added stroke.

    The NMSTROKE structure is defined as

    typedef struct NMSTROKE

    {

    NMHDR hdr;

    long lStrokeID;

    } NMSTROKE, *LPNMSTROKE;

    where hdr contains additional information about the notification, and lStrokeID indicates the Stroke ID of the added stroke.

  • idCtrl
    The control ID of the window.

Return Value

The return value is ignored.

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