AnnIsFixedRect example for C++ Builder

void TForm1::ExampleAnnIsFixedRect ( HANNOBJECT hObject, int nLeft, int nTop, int nRight, int 
zBottom)
{
   bool bFixedInRect;
   LEADAnn1->AnnFlags = ANNFLAG_RECURSE;
   bFixedInRect = LEADAnn1->AnnIsFixedRect(hObject, nLeft nTopnRight , nBottom);
   if(bFixedInRect == true)
      ShowMessage("There are Fixed annotations visible.");
   else
      ShowMessage("There are No Fixed annotations visible.");
}