InkOverlay.Painting event

Occurs before the InkOverlay object or InkPicture has completed redrawing itself.

Syntax

void Painting(
  [in]      long          hDC,
  [in]      IInkRectangle *Rect,
  [in, out] VARIANT_BOOL  *Allow
);

Parameters

hDC [in]

The device context on which painting will occur.

Rect [in]

The rectangle that is to be repainted.

Allow [in, out]

Whether the repaint will occur.

Return value

This event does not return a value.

Remarks

This event method is defined in the _IInkOverlayEvents and _IInkPictureEvents dispatch-only interfaces (dispinterfaces) with an ID of DISPID_IOEPainting.

Requirements

Requirement Value
Minimum supported client
Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server
None supported
Header
Msinkaut.h (also requires Msinkaut_i.c)
Library
InkObj.dll

See also

InkOverlay Class