Compartilhar via


InkCanvas

4/8/2010

The InkCanvas is a windowed control that enables easy collection and editing of ink without the need for dealing with COM objects. An application requests operations from the canvas by using window messages, described in the InkCanvas Window Messages. The associated notifications are described in InkCanvas Notification Messages.

Window Creation

To use the InkCanvas, use the WLINKCANVAS window class. It is defined as WC_INKCANVAS in inkctrls.h.

The InkCanvas allows you to use of WS_HSCROLL and WS_VSCROLL flags to create scrollbars. The application can choose to create a fixed canvas instead of the default variable canvas by passing the ICS_FIXEDCANVAS as a window style.

See Also

Concepts

Windows Mobile Ink Reference