Quote Originally Posted by Skizmo View Post
Why do you need to get a DC ? You can only draw in the OnPaint, and in it you need to declare
Code:
CPaintDC dc(this);
to create a DC. Drawing outside the OnPaint is simply the wrong way to do it.


That seems to be the case.

In essence, then, the 'correct' way to draw in MFC is ALWAYS on Invalidate(TRUE), yes?

Though, my OnDraw just calls UpdateDialog(pDC);

Never draw outside of UpdateDialog?