mouse scrolling problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ken

    #1

    mouse scrolling problem

    Hi,
    I found in these forums that one solution to stop the mouse wheel
    scrolling is:


    I have a main form on which there is a tabctrl. One of the tab pages
    contains a subform with another tabctrl with subforms.

    Anyhow I use the code from microsoft(with the dll file) with the main
    form and that works fine. When I use it with the first subform it won't
    let me access the tabctrl or any of the records on the subform? I can't
    type anything. I checked the properties and everything seems unlocked
    and all the allow properties are set to yes...

    Has anyone seen something like this before?

    Thanks

  • David Schofield

    #2
    Re: mouse scrolling problem

    On 24 Jul 2005 14:43:21 -0700, "ken" <gevayl@gmail.c om> wrote:
    [color=blue]
    >Hi,
    >I found in these forums that one solution to stop the mouse wheel
    >scrolling is:
    >http://support.microsoft.com/default...b;en-us;278379
    >
    >I have a main form on which there is a tabctrl. One of the tab pages
    >contains a subform with another tabctrl with subforms.
    >
    >Anyhow I use the code from microsoft(with the dll file) with the main
    >form and that works fine. When I use it with the first subform it won't
    >let me access the tabctrl or any of the records on the subform? I can't
    >type anything. I checked the properties and everything seems unlocked
    >and all the allow properties are set to yes...
    >
    >Has anyone seen something like this before?
    >
    >Thanks
    >[/color]
    Hi
    I expect it is because the tab control (which in the old days used to be
    an external control) is also subclassing the mouse.
    I'm surprised that MS are encouraging users to use this sort of code!
    David

    Comment

    • Stephen Lebans

      #3
      Re: mouse scrolling problem

      That solution does not work with Subforms. If you scroll down to the
      older solution on my MouseHook web page you will find a modified version
      of the the KB code that works with multiple forms and subforms.


      --

      HTH
      Stephen Lebans

      Access Code, Tips and Tricks
      Please respond only to the newsgroups so everyone can benefit.


      "ken" <gevayl@gmail.c om> wrote in message
      news:1122241401 .521319.147170@ g14g2000cwa.goo glegroups.com.. .[color=blue]
      > Hi,
      > I found in these forums that one solution to stop the mouse wheel
      > scrolling is:
      > http://support.microsoft.com/default...b;en-us;278379
      >
      > I have a main form on which there is a tabctrl. One of the tab pages
      > contains a subform with another tabctrl with subforms.
      >
      > Anyhow I use the code from microsoft(with the dll file) with the main
      > form and that works fine. When I use it with the first subform it[/color]
      won't[color=blue]
      > let me access the tabctrl or any of the records on the subform? I[/color]
      can't[color=blue]
      > type anything. I checked the properties and everything seems unlocked
      > and all the allow properties are set to yes...
      >
      > Has anyone seen something like this before?
      >
      > Thanks
      >[/color]

      Comment

      Working...