AnnUngroup Example for C++ 5.0 and later
Note: This topic is for Document/Medical only.
For more information on declaration and unlocking procedures used in testing this example, refer to Annotation Declaration Information.
void CTutorDlg::OnButtonAnnungroup()
{
OLE_HANDLE hAnnContainer = NULL;
hAnnContainer = m_pRasterAnn->GetAnnContainer ();
m_pRasterAnn->AnnUngroup(hAnnContainer, ANN_FLAG_SELECTED | ANN_FLAG_RECURSE, "");
}