Description

Fired during the viewer's OnDraw processing.

Syntax

Private Sub object_BeforePaint(Window, lHDC)

The BeforePaint Event syntax has these parts:

PartDescription
objectA McWindow object.
WindowA McWindow object.
lHDCA Long value.

Handle to the device context - the hDC.

Remarks

Fired by the viewer just before calling SetDIBitsToDevice or SetDIBitsToDevice.