I used a standard wiz-generated app with CEdit. In the View::OnDraw(CDC* pDC) I wrote the following: HDC hdc = CDC::GetSafeHdc();
This gives me error C2352, but noting is declared static.
Printable View
I used a standard wiz-generated app with CEdit. In the View::OnDraw(CDC* pDC) I wrote the following: HDC hdc = CDC::GetSafeHdc();
This gives me error C2352, but noting is declared static.
Hey,
Not sure, but you might need to do the following instead of what you are doing:
HDC hdc = pDC->GetSafeHdc();
Hope this helps,
Simon