AnnSetBackColor example for C++ Builder

void TForm1::TestAnnBackColor ( HANNOBJECT hAnnObject )
{
   TColor clColor; /* Object background color */
   /* Invert the foreground color */
   LEADAnn1->AnnGetBackColor(hAnnObject, clColor );
   LEADAnn1->AnnSetBackColor(hAnnObject, (TColor)(ColorToRGB(clColor) ^ 0x00FFFFFF), false );
}