how u can move CDC pointer to one line in cview?
The question implies that ReleaseDC(CDC*) is not to be called. The only way I know of doing this, without creating a leak, is the CClienDC dc(this) constructor.