Basically I have two dialog boxes.. In one dialog box I take the input values for drawing an ellipse and then click a draw button on the same dialog box so that a new dialog box opens and displays the image.. But i really cant manage to do that …the DoModal thing doesnt seem to work …also if I draw the image on the same dialog box and then change the input values and then again click the ‘Draw’ button the previous image is erased and the new is drawn .. what I want is that the previous image should remain there ..how do i do that ???