HasMagGlass example for C++ 4.0 and later

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