GetDc() - returns NULL why ?
C / C++ / MFC
2
Posts
1
Posters
0
Views
1
Watching
-
Hi all , outside of OnPaint()I call in other function CDc* pDc = GetDc(). Sometimes its returns NULL. Why????????? Aizik Yair Software Engineer
-
Hi all , outside of OnPaint()I call in other function CDc* pDc = GetDc(). Sometimes its returns NULL. Why????????? Aizik Yair Software Engineer
I found the reason. I need call ReleaseDc() each time i use GetDC() Aizik Yair Software Engineer