How to know what link is clicked on a Balloon afte

2019-04-25 19:19发布

问题:

After Mr. TLama have answered my last question (How to trap the TTN_LINKCLICK notification?) one point went unanswered because it was not asked :)

How to identify each link I clicked on the balloon, if there are more than one link?

I want to be able to include more than one link in the balloon and to respond to clicks differently.

回答1:

The notification has no parameters, so you don't know which link was clicked. The moral: If you need more than one link, consider a more versatile interface than a tool tip, such as a toast notification or a dialog box.