dcsimg
www.webdeveloper.com
Results 1 to 6 of 6

Thread: how to avoid flickering of tooltip?

  1. #1
    Join Date
    Oct 2009
    Posts
    11

    how to avoid flickering of tooltip?

    Hi all ,

    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.

    Thanks,
    Prasad

  2. #2
    Join Date
    Oct 2009
    Posts
    658
    Its fixed now. LOL. How can we help you when you don't provide anything for us to work with?

  3. #3
    Join Date
    Oct 2009
    Posts
    11
    hi ssystems,

    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

  4. #4
    Join Date
    Oct 2009
    Posts
    658
    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.

  5. #5
    Join Date
    Oct 2009
    Posts
    11
    Hi Santos,

    Thanks for ur reply.

    Since its converted to vs2008 the framework is 3.5, and its a vb.net windows application.

    I tried removing Application.Doevents. but,still blinks.

  6. #6
    Join Date
    Nov 2009
    Location
    San Diego
    Posts
    2
    Hi..
    Instead of updating the tooltip on all
    events, you only update it if the mouse has moved X pixels away from
    where you popped up the tooltip.

    ________________________________

    Web Development Services

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles