AnnChange Event Example for C++ 4.0 and later
Note: This topic is for Document/Medical only.
This example tests the AnnChange event.
void CTutorDlg::OnAnnChangeLead1(long hObject, long uType)
{
char buffer[50];
sprintf(buffer, " This is a change for the button tagged %d", m_Lead1.AnnGetTag(hObject));
MessageBox(buffer, "NOTE", MB_OK);
}