Don't use GetDC() at all!
Use CClientDC class. It makes all Get/Release for you so you shouldn't care!
Besides, what is the purpose of TimerProc? Why not just handle WM_TIMER message in the CDlg...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: VictorN Search: Search took 2.81 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |