Yorn Posted July 14, 2008 Share Posted July 14, 2008 Specifically, I'm having problems with the following code, which I think should be working: $hWnd = TraySetToolTip("Computer: " & @ComputerName & @CRLF _ & "User: " & @UserName & @CRLF _ & "IP: " & IsBlank(@IPAddress1) & " " & IsBlank(@IPAddress2) & " " & IsBlank(@IPAddress3) & @CRLF _ & "Status: ONLINE") _GUIToolTip_SetDelayTime($hWnd, 2, 15000) Put simply, what I am trying to accomplish is a tool tip window that appears when the user hovers the mouse over the system tray icon for the program. TraySetToolTip accomplishes this, however it doesn't stay visible for very long. In fact, it's about 5 seconds long, and that's simply not long enough. Does anyone know how to make it so that Tray Tip on the system icon appears immediately and stays pretty-much indefinitely? Thanks. Link to comment Share on other sites More sharing options...
TehWhale Posted July 14, 2008 Share Posted July 14, 2008 (edited) Specifically, I'm having problems with the following code, which I think should be working:$hWnd = TraySetToolTip("Computer: " & @ComputerName & @CRLF _ & "User: " & @UserName & @CRLF _ & "IP: " & IsBlank(@IPAddress1) & " " & IsBlank(@IPAddress2) & " " & IsBlank(@IPAddress3) & @CRLF _ & "Status: ONLINE")_GUIToolTip_SetDelayTime($hWnd, 2, 15000)Put simply, what I am trying to accomplish is a tool tip window that appears when the user hovers the mouse over the system tray icon for the program. TraySetToolTip accomplishes this, however it doesn't stay visible for very long. In fact, it's about 5 seconds long, and that's simply not long enough.Does anyone know how to make it so that Tray Tip on the system icon appears immediately and stays pretty-much indefinitely? Thanks.I belive this is actually a system issue, not anything to do with AutoIt, because all applications, their tooltips only stay for about 5 seconds.(Reason For Edit: "Typo") Edited July 14, 2008 by JasonB Link to comment Share on other sites More sharing options...
JFee Posted July 14, 2008 Share Posted July 14, 2008 Create a window where you want it to be, and treat it like a tooltip Regards,Josh Link to comment Share on other sites More sharing options...
Yorn Posted July 14, 2008 Author Share Posted July 14, 2008 Create a window where you want it to be, and treat it like a tooltipI'm not sure I follow this entirely.I belive this is actually a system issue, not anything to do with AutoIt, because all applications, their tooltips only stay for about 5 seconds.This is what I feared. I'm sure there's a DLL that determines this, but that's alright, I won't worry about it. I appreciate the help. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now