AnnUnlocked Example for C++ 4.0 and later

Note: This topic is for Document/Medical only.

The following is an example of an AnnUnlocked event.

void CTestocxDlg::OnAnnUnlockedLeadctrl1(long hObject) 
{
   CString msg;

   msg.Format("Object: %ld was unlocked.", hObject);
   AfxMessageBox (msg);
}