::SelectObject( hdc, hPenOld );
::DeleteObject( hPen );
// From
PAINTSTRUCT ps;
ps.rcPaint.left = 0;
ps.rcPaint.right = m_nViewAlignLeft + m_nViewCx;
ps.rcPaint.top = m_nOldUnderLineY;
ps.rcPaint.bottom = m_nOldUnderLineY;
OnPaint( hdc, &ps, FALSE );
// To
::ReleaseDC( m_hWnd, hdc );