Click to See Complete Forum and Search --> : How to draw inside a bitmap control included in a dialog box?


German Silva
March 30th, 1999, 10:50 AM
How to draw a line inside a bitmap control that is included in a dialog?


thanks


German

Sergio Acosta
May 30th, 1999, 12:14 AM
I supose you want to include some image in a dialog using a PictureBox at design time.

First include on your proyect a new resource of Bitmap type.

Draw whatever you want inside.

Asign an ID to the resource, ID_MY_IMAGE or something.

Include a Picture Box control in your dialog.

In the properties window set the Type property of your picture box to Bitmap and the Image property to the ID of the bitmap you created.