AnnAutoMenuEnable Example for C++ 4.0 and later

Note: This topic is for Document/Medical only.

This example toggles the AnnAutoMenuEnable property.

if (m_Lead1.GetAnnAutoMenuEnable() == TRUE)
   m_Lead1.SetAnnAutoMenuEnable(FALSE);
else
   m_Lead1.SetAnnAutoMenuEnable(TRUE);