i want to display a graphic next to a dialog box initiated by sdi application. here i send the code. lets say i want to draw the plot of y=x**2 + 5 in this area i coded. where should i put the code? and user defined initial parameters in a dialog box? would you help me about that?