Is it possible to react to clicks on the tooltip and to clicks on links differently?
I would like to close the tooltip when I click on it, but do something else when I click on a link.
Also, I tried using the Delay feature in combination with this, but I only get a waiting cursor when hovering over the tooltip, and AHK tray icon is unresponsive.
Edit:
I managed to use links and close on clicking elsewhere, but my solution is a bit hackish, and there is probably a better one, so please let me know if there is.
My Solution:
Code:
WM_LBUTTONDOWN(wParam,lParam,msg,hWnd){
global LinkClicked
LinkClicked:=-1
SetTimer, test, -10
outputdebug lbuttondown
}
WM_NOTIFY(wParam, lParam, msg, hWnd){
ToolTip("",lParam,"")
}
testclick:
i:=0
while(LinkClicked=-1 && i<100)
{
Sleep 10
i+=10
}
if(LinkClicked<=0)
Tooltip()
return
ToolTip:
link:=ErrorLevel
ToolTip()
If(TooltipShowSettings && Link) {
ShowSettings()
LinkClicked:=1
}
Return
ToolTipClose:
Tooltip()
return