• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 359
  • Last Modified:

Balloon w/ Hyperlink

Hello,

I just read how to create a balloon tooltip in the status area.  Is it possible to create a hyperlink on the text that goes into the balloon window?  

Thank you very much,
Rich
0
richsolomon
Asked:
richsolomon
2 Solutions
 
_corey_Commented:
I believe you are looking for the 'Balloon' ToolTop option of Shell_NotifyIcon.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/tooltip/usingtooltips.asp ["Using ToolTip Controls"]

It is setup in much the same was as a normal taskbar icon except you set the uFlag option NIF_INFO in the NOTIFYICONDATA structure and set the uTimeout to a millisecond value so that the tip goes away.

corey
0
 
richsolomonAuthor Commented:
Thanks for your response, corey.

I think this means that I must use the TTF_PARSELINKS flag when creating the tooltip, but how does one embed a link in a text string?  Is there a special syntax that tells Windows that a string of chars is a hyperlink?

0
 
Jaime OlivaresSoftware ArchitectCommented:
> Is there a special syntax that tells Windows that a string of chars is a hyperlink?
No, there is not such feature, you have to implement by yourself.

If you are working with Visual C++, have a look to this excellent tooltip implementation (including hyperlink support):
http://www.codeproject.com/miscctrl/pptooltip.asp
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now