AnnSetHyperlinkMsg example for C++ Builder
//The following is an example of OnAnnHyperlinkMenu event code, which includes a call to AnnSetHyperlinkMsg.
void __fastcall TForm1::LEADAnn1AnnHyperlinkMenu (L_PHANDLE phObjects,
int iCount)
{
int x;
//set HyperLink to type ANNLINK_ANNEVENT5
//and set the 5 params to some values.
for (x= 0; x < iCount; x ++ )
LEADAnn1->AnnSetHyperlinkMsg (LEADAnn1->AnnGetItemHandle (phObjects, x), ANNLINK_ANNEVENT5, 5, 4, 3, 2, 1);
}