CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Scrollbars

  1. #1
    Join Date
    May 2001
    Location
    Kansas City, Missouri
    Posts
    45

    Scrollbars

    Does anyone know why the sliders on scrollbar controls blink and if there is any way to stop it?

    Thanks in advance.


  2. #2
    Join Date
    Mar 1999
    Location
    Nepal
    Posts
    540

    Re: Scrollbars

    The Scroll thumb blinks when the scroll bar has got focus. To prevent it, set the focus to another control on your form as soon as the scroll bar gets the focus.

    Say, your form has a picturebox Picture1 and a scroll bar HScroll1. Then


    private sub HScroll1_GotFocus()
    Picture1.SetFocus
    end sub





Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured