Sign in to follow this  
Followers 0
Roshith

Hyperlink in TrayTip

3 posts in this topic

Hi,

Is it possible to include a hyperlink in a traytip so that the link opens up when I click on it..

Rgds

Roshith

Share this post


Link to post
Share on other sites



Create your own ToolTip.

Here is an example that just looks like a hyperlink:

#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>
HotKeySet("{ESC}", "OntSnap")
$Gui = GUICreate("tooltip", 140, 80, 1, 1, $WS_POPUP, $WS_EX_TOPMOST)
GUISetBkColor(0xffff00)
$Label = GUICtrlCreateLabel("NotePad.exe", 10, 10, 80, 50)
GUICtrlSetFont(-1, 8, Default, 6, "Comic Sans MS")
GUISetState()
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
Exit
Case $Label
Run(@WindowsDir & "Notepad.exe", "", @SW_MAXIMIZE)
EndSwitch
Sleep(13)
WEnd
Func OntSnap()
GUIDelete()
Exit 0
EndFunc ;==>OntSnap

Share this post


Link to post
Share on other sites

Thank you JoHanatCent,

I knew this alternative, But just wanted to know if its possible.. Thank you :D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0