AnnShowLockedIcon example for C++ Builder
//This example toggles the AnnShowLockedIcon property.
//Toggle AnnShowLockedIcon
if (LEADAnn1->AnnShowLockedIcon)
LEADAnn1->AnnShowLockedIcon = False;
else
LEADAnn1->AnnShowLockedIcon= True;