Sign in to follow this  
Followers 0
MadBoy

TrayTip problems..

3 posts in this topic

Hello,

I'm using in my programs written in autoit baloon tips in right down corner. It works fine most of the time but sometimes it stops working. Well not totally. I can hear baloon tip sound, but it's not showing up so i can't see what's written on it. And i can't force it to show up until i restart "explorer". Have anyone found the same situation or/and knows how to fix this issue. This is preety much annoying latly :)

Regards,

MadBoy


My little company: Evotec (PL version: Evotec)

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

It may be due to quick changing info/calling. Make some Sleep after calling ToolTip or show your code.

If $mode <> "RegCheck" Then
    TrayTip("Information:", $udp_receive_data, 8, 1)
Else
    GUICtrlSetData($GUI_LABEL, $udp_receive_data)
    TrayTip("Information:", $udp_receive_data, 8, 1)
    GUISetState(@SW_SHOW, $GUI_WINDOW)
EndIf
$time = TimerInit(); start timer
Do
    Sleep(1)
    If $Send_packet = 1 Then
        If $udp_password = "" Then
            $status = UDPSend($socket_outgoing, $my_special_command & " " & $udp_receive_data)
        Else
            $status = UDPSend($socket_outgoing, $udp_password & " " & $my_special_command & " " & $udp_receive_data)
        EndIf
        $time_to_send = TimerDiff($macro_start)
        If $mode = "RegCheck" Then
            GUICtrlSetData($GUI_LABEL, "")
            GUISetState(@SW_HIDE, $GUI_WINDOW)
        EndIf
        ExitLoop
    EndIf
    If _IsPressed("1B", $dll) Then
        If $mode = "RegCheck" Then
            GUICtrlSetData($GUI_LABEL, "")
            GUISetState(@SW_HIDE, $GUI_WINDOW)
        EndIf
        ExitLoop
    EndIf
Until TimerDiff($time) > 8000; check timeout
TrayTip("Clean Tip", "", 1)

Here you go. Thanks for help.

Edited by MadBoy

My little company: Evotec (PL version: Evotec)

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