AnnFixed example for C++ Builder

void TForm1:: ExampleAnnFixed ( HANNOBJECT hObject )
{
   bool bFixed;
   bFixed = LEADAnn1->AnnFixed[hObject];
   LEADAnn1->AnnEnableAdjust = true;
   bFixed = !bFixed;
   LEADAnn1->AnnFixed[hObject] = bFixed;
   if (bFixed == true)
      ShowMessage("Fixed");
   else
      ShowMessage("Not Fixed");
}