Description

Fired during the viewer's OnDraw processing.

Syntax

Private Sub object_AboutToPaint(lHDC, lPaintCode)

The AboutToPaint Event syntax has these parts:

PartDescription
objectA McDisplay object.
lHDCA Long value.

long : Handle to the device context - the hDC.

lPaintCodeA Long value.

long : Set to a mcPaintCode value.

Remarks

Fired by the viewer just before calling SetDIBitsToDevice.