共用方式為


CImage::ReleaseDC

Releases the device context.

void ReleaseDC( ) const throw( );

Remarks

Because only one bitmap can be selected into a device context at a time, you must call ReleaseDC for each call to GetDC.

Requirements

Header: atlimage.h

See Also

Reference

CImage Class