Sign in to follow this  
froten_140

Paint function

Recommended Posts

Hi' I'm trying to make a program that plots an array of data as a curve. The program is dialog based project in VC6. I used a static control to use its rectangle as my curve window, and used the function OnPaint() of my dialog to draw the curve when it needs to be redrawn. My problem is that, when the dialog is covered by another window, the OnPaint() function does not update the covered portion pf the static control that have the curve. Could you please help me to make my curve updated every time the dialog is covered. Thanx in advance for any help.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this