Export (0) Print
Expand All

InkPicture.Painting event

Applies to: desktop apps only

Occurs before the InkPicture control redraws 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 ink 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

Minimum supported client

Windows XP Tablet PC Edition

Minimum supported server

None supported

Header

Msinkaut.h (also requires Msinkaut_i.c)

Library

InkObj.dll

See also

InkPicture

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft