CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2001
    Location
    Detroit MI / Windsor
    Posts
    17

    Scroll bar flashing after any click event or after moving the bar.

    Any time I click or move the scroll bar I created, the actual bar flashes until I perform another click event on any object on the form. If anyone has seen this problem before I'd appreciated hearing the cause or possible solutions. THANKS ALOT.

    peter


  2. #2
    Join Date
    Jun 2001
    Location
    Memphis, TN
    Posts
    146

    Re: Scroll bar flashing after any click event or after moving the bar.

    I've seen this problem before in some other applications but I'm not sure exactly what causes it. Have you tried setting the focus to another control after the scroll bar event is completed?

    SomeOtherControl.Setfocus


  3. #3
    Join Date
    Apr 2001
    Location
    Detroit MI / Windsor
    Posts
    17

    Re: Scroll bar flashing after any click event or after moving the bar.

    thanks for your help. This worked and while its not the most desirable solution it is still a solution. If there are any other suggestions I would appreciate them however thankyou again Ghost

    pete


  4. #4
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: Scroll bar flashing after any click event or after moving the bar.

    ALl developers of Controls need to present a way to let you know that their Control has the Focus. Usually it is with a dotted rectangle around the control. Unfortunately The ScrollBar people decided it would be neat to blink at you instead, Kinda like those annoying lights on Cars nowadays that reside on the top of Trunks and blink whenever the drivers hits the brake pedal.
    There are many replacements for this control. One at http://freevbcode.com/ShowCode.Asp?ID=664 that sems resonable. It's a big download and has many parts and ways to use its control but could be wittled down to just the core product.

    John G

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