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.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: Getting a handleThreaded View
|
Click Here to Expand Forum to Full Width |