Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IInkOverlay

Windows Mobile 6.5
4/8/2010

Represents an object that is useful for annotation scenarios where users are not concerned with performing recognition on ink but instead are interested in the size, shape, color, and position of the ink.

The IInkOverlay object is well suited for note taking and basic scribbling. The primary intended use of this object is to display ink as ink.

In general, the run-time user interface for this object is a transparent window with opaque ink.

The MouseDown, MouseMove, and MouseUp events return x– and y–coordinates in pixels, and not the HIMETRIC units that are associated with the ink space. This is because these events replace the mouse events of pen–unaware applications and these applications understand only pixels.

To improve your application's performance, dispose your IInkOverlay object when it is no longer needed.

IInkOverlay Methods

Describes the methods available for IInkOverlay.

IInkOverlay Properties

Describes the properties available for IInkOverlay.

If you attached the InkOverlay object to a CView object, release the InkOverlay object in response to the WM_DESTROY message as shown in the following example:

BOOL CRecognitionAlternatesSampleCppView::OnWndMsg(UINT msg, WPARAM wp, PARAM lp, LRESULT *pLR)
{
  if(WM_DESTROY == msg)
    m_spInkOverlay.Release();
  return CView::OnWndMsg(msg, wp, lp, pLR);
}

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.