AutoRepaint property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax BOOL AutoRepaint

Overview:  Refer to Displaying an Image.

Remarks

(Persistent property, available at design time) Enables automatic repainting of the bitmap.

When this property is TRUE, any change in the bitmap causes the bitmap to repaint. At run time, you can set the property to FALSE temporarily to change more than one property before repainting. Alternatively, you can use the ForceRepaint method to control repainting.

Setting

Description

TRUE

Enables automatic repainting of the bitmap.

FALSE

Disables automatic repainting of the bitmap.

See Also

Elements:  ForceRepaint method, PaintRgnOnly property, RepaintRect method, EnablePaint property

Topics:  Raster Images: Displaying Images