AnnPushFixedState example for C++ 5 and later
// This example temporarily disables the"fixed" property of all objects in the container.
// This is useful when fixed objects need to be temporarly painted larger or smaller than
// the fixed size. For an example using the magnifying glass, see the source code
// for the main COM annotation demo.
void CAnnSample2Dlg::SampleAnnPushFixedState(long hContainer)
{
m_pRasterAnn->Flags = ANN_FLAG_RECURSE | ANN_FLAG_NOINVALIDATE;
m_pRasterAnn->AnnPushFixedState (hContainer);
}