AnnHyperlinkMenuEnable example for C++ 4.0 and later

Note: This topic is for Document/Medical only.

This example toggles the AnnHyperlinkMenuEnable property .

    //toggle AnnHyperLinkMenu item and event
    if (m_Lead1.GetAnnHyperlinkMenuEnable() == TRUE)
        m_Lead1.SetAnnHyperlinkMenuEnable(FALSE);
    else
        m_Lead1.SetAnnHyperlinkMenuEnable(TRUE);