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
    Apr 1999
    Posts
    30

    Scrollbars

    Does anyone know how to stop the little scrollbox tab thing on the intrinsic hscroll and vscroll controls from flashing? And no I can't use the flatscrollbar.


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Scrollbars

    the box flashes only when the scrollbar has the focus.
    Thus, set the focus to any other control in your form in case of a change or GotFocus event.
    (assuming that there is a command1 control on your form)

    private Sub HScroll1_Change()
    Command1.SetFocus
    End Sub

    private Sub HScroll1_GotFocus()
    Command1.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