somh Posted December 20, 2006 Posted December 20, 2006 I use tootip to display current file processing info in a recursive loop, and this happens to be very fast, and the tooltip area will flash a lot every time called out. I want to know if it is possible to just update the text in a tooltip without redrawing the whole area every time?
Valuater Posted December 20, 2006 Posted December 20, 2006 heres one way.... $start = @HOUR & ":" & @MIN + 2 ; for testing While 1 $start2 = @HOUR & ":" & @MIN If $start = $start2 Then Run("notepad.exe") ExitLoop EndIf ToolTip("Start Time = " & $start & @CRLF & "Real Time = " & $start2, 20, 20, "Time Machine", 1) Sleep(2000) WEnd Exit 8)
somh Posted December 20, 2006 Author Posted December 20, 2006 heres one way....8)Thanks, but I actually don't wanna delay the process.Maybe I could better just use a window to display that information, and that's much easier.
Thatsgreat2345 Posted December 20, 2006 Posted December 20, 2006 If its going so fast people cant even read it then i guess i dont see the point in having it
somh Posted December 20, 2006 Author Posted December 20, 2006 If its going so fast people cant even read it then i guess i dont see the point in having it :"> It's fast enough to cause flash, but not so fast to be unreadable. If u ever used a virus scan tool, probably u'll understand the point.
Uten Posted December 20, 2006 Posted December 20, 2006 If I recall right Larry uses tooltips to show of information on the fly. I'm not sure if it get's ride of the flashing. I think one of the reasons you get the flashing effect is that the size of the tooltip area is recalculated each time to fit the text you want to display. Allso the yellow color does not help. So, follow your instinct. Createa a borderless fixed size window with a label on it and updates that then the flashing effect will probably be gone. Something alonge the lines of the Progress dialog? Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling
somh Posted December 20, 2006 Author Posted December 20, 2006 So, follow your instinct. Createa a borderless fixed size window with a label on it and updates that then the flashing effect will probably be gone. Something alonge the lines of the Progress dialog?Yes, that's what I've done alternatively.
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