AnnGetAutoMenuItemEnable example for C++ Builder

void __fastcall TMainFrm::LEADAnn1AnnEnumerate(L_HANDLE hObject)
{
   ShowMessage (IntToStr (LEADAnn1->AnnGetAutoMenuItemEnable (hObject, 0, ANNAUTOTEXT_MENU_DELETE)));
}