EnableZoomInRect example for C++ 4.0 and later

This example toggles the EnableZoomInRect property.

// Toggle the ZoomInRect setting
           if (m_Lead1.GetEnableZoomInRect() == TRUE)
               m_Lead1.SetEnableZoomInRect(FALSE);
           else
               m_Lead1.SetEnableZoomInRect(TRUE);