calling invalidate

I have made a sdi application (in vc60) and I have created a new class derived from CDialog.
From that class I have to refresh the sdi so I have to call OnDraw() function or something
like that. How Can I do this?
tahnx.
pelauAsked:
Who is Participating?
 
MDarlingConnect With a Mentor Commented:
AfxGetMainWnd()->Invalidate();

should do the trick.
regards,
Mike.
0
 
MDarlingCommented:
why a B grade?
you didn't ask for further info.

anyway,

you could also use GetParent()->Invalidate();

regards,
Mike.
0
 
pelauAuthor Commented:
i'm sorry, must be becouse I was in a hurry...
0
All Courses

From novice to tech pro — start learning today.