AnnFixed example for C++ 5 and later
void CTutorDlg::ExampleAnnFixed(long hObject)
{
VARIANT_BOOL bFixed;
bFixed = m_pRasterAnn->GetAnnFixed(hObject);
m_pRasterAnn->GetEnableAdjust = True
bFixed = !bFixed;
m_pRasterAnn->PutAnnFixed(hObject, bFixed);
if (bFixed == TRUE)
MessageBox(TEXT("Fixed"));
else
MessageBox(TEXT("Not Fixed"));
}