HasMagGlass example for C++ 5.0 and later

   if(m_LEADRasterView1.GetHasMagGlass())
   {
      SetWindowText(TEXT("Stop"));
      //Stop the MagGlass
      m_LEADRasterView1.StopMagGlass();
   }
   else
      SetWindowText(TEXT("Error"));