how to avoid flickering of tooltip? This application was done using vs-2003 and is working fine.But after converting it to vs-2008,flickering problem has arised.Please guide me in sorting out this issue.
here is the code..I am setting tooltip in mouseMove event of listview.It is working fine in vs2003 but after converting it in to vs2008, The tooltip starts blinking.
Private Sub lvActivities_MouseMove(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles lvActivities.MouseMove
.
.
.
.
tiptext = "Member Name : " & MemberName & vbCrLf & "Access Number : " & AccessNumber & vbCrLf & "Phone Number : " & telephoneNo
Application.DoEvents()
tipAll.SetToolTip(lvActivities, tiptext)
.
.
.
end sub
Looks like VB WinForms (again I'm guessing here...could be WPF). What framework are we using here? In any case avoid doing doevents. Application DoEvents. You can use DispatcherFrame or event delegation. MultiThread as well.
Bookmarks