AnnGetOptions example for C++ 4.0 and later

L_TCHAR* pszMsg = NULL;
L_UINT   uOptions = 0;
uOptions = m_Lead1.AnnGetOptions();

if (uOptions & OPTIONS_NEW_SIDE_HANDLES)
{
 uOptions &= ~OPTIONS_NEW_SIDE_HANDLES;
 pszMsg = TEXT("Draw a rectangular object and select it.  Note there are no side handles.  Run this example again to enable the side handles.");
}
else
{
 uOptions |= OPTIONS_NEW_SIDE_HANDLES;
 pszMsg = TEXT("Draw a rectangular object and select it.  Note the side handles.  Run this example again to disable the side handles.");
}

m_Lead1.AnnSetOptions(uOptions);
MessageBox(pszMsg, TEXT("Notice"), MB_OK);