How to know what link is clicked on a Balloon after handle the TTN_LINKCLICK message?

余生长醉 提交于 2019-12-07 01:25:05

问题


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.



来源:https://stackoverflow.com/questions/8504728/how-to-know-what-link-is-clicked-on-a-balloon-after-handle-the-ttn-linkclick-mes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!