Have you checked in the debugger that m_hdc variable is a valid handle and not NULL?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 6 of 6
Thread: ChoosePixelFormat NULL handle?Threaded View
|
Click Here to Expand Forum to Full Width |