Windows Device Contexts
- An application cannot use the ReleaseDC function to release a DC that was created by calling the CreateDC function; instead, it must use the DeleteDC function. ReleaseDC must be called from the same thread that called GetDC.
- The destructor of CDC will call DeleteDC on the device context associated with the CDC. In general, you don't need to call CDC::DeleteDC yourself.
0 Comments:
Post a Comment
<< Home