CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 1999
    Location
    California, USA
    Posts
    34

    OnVScroll() get call twice?

    can anybody tell why OnVScroll()/OnHScroll() will get called twice whenever an scroll event has occurred ?


  2. #2
    Guest

    Re: OnVScroll() get call twice?

    Once for the action e.g SB_PAGEUP

    Once for the end scroll event i.e SB_ENDSCROLL


  3. #3
    Guest

    Re: OnVScroll() get call twice?

    I don't recall the details, but put a breakpoint at the first line in the VScroll or HScroll method handler and examine all of the parameter values. For each call, the set of parameter values are different.


  4. #4
    Join Date
    Apr 1999
    Location
    California, USA
    Posts
    34

    Re: OnVScroll() get call twice?

    I've examine the value of the parameter and i known it is different each time it get called, but i want to know why it get call twice?


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