Person Name smart tag Performance Problem

Dear all,

I'm writing a Person Name smart tag for the persona menu in Outlook and am creating dynamic caption with the IsCaptionDynamic() function. However, there is a noticable delay when popping up the smart tag("Additional Actions") Sub-menu.

At first I suppose the VerbCaptionFromID2() function is only called as many times as the number of verbs, but then I noticed that it is called about the "square of number of verbs" times. I'm wondering if this behaviour cause pop-up slow. Is there any way to reduce the calling times? Thanks in advance~

Regards,
Albert

[604 byte] By [albert_whng] at [2008-1-10]