AnnShowLockedIcon Example for C++ 4.0 and later

Note: This topic is for Document/Medical only.

This example toggles the AnnShowLockedIcon property.

    //Toggle AnnShowLockedIcon
    if(m_Lead1.GetAnnShowLockedIcon() == TRUE)
        m_Lead1.SetAnnShowLockedIcon(FALSE);
    else
        m_Lead1.SetAnnShowLockedIcon(TRUE);