Use of mouse wheel ???

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

    Use of mouse wheel ???

    Dear all,

    I would like to be able to use the mouse wheel button in my windows
    application to scroll my control data.

    The weel gets two function, when you rotate it and whne you press it.
    How to handle that 2 function and tell to my control to scroll up or down
    based on wheel function?

    Any one have use it already?

    Thanks for your help
    regards
    serge
  • Patrice

    #2
    Re: Use of mouse wheel ???

    What control are you using ? It should be handled automatically.. .

    --

    "serge calderara" <sergecalderara @discussions.mi crosoft.com> a écrit dans le
    message de news:16F15704-752A-4494-82F0-079160034786@mi crosoft.com...[color=blue]
    > Dear all,
    >
    > I would like to be able to use the mouse wheel button in my windows
    > application to scroll my control data.
    >
    > The weel gets two function, when you rotate it and whne you press it.
    > How to handle that 2 function and tell to my control to scroll up or down
    > based on wheel function?
    >
    > Any one have use it already?
    >
    > Thanks for your help
    > regards
    > serge[/color]


    Comment

    • serge calderara

      #3
      Re: Use of mouse wheel ???

      I ma using a treeView control, a listView control and a datagrid control
      in a windows vb.net application

      Actually it is not doing anything even if scrool is set automatically

      "Patrice" wrote:
      [color=blue]
      > What control are you using ? It should be handled automatically.. .
      >
      > --
      >
      > "serge calderara" <sergecalderara @discussions.mi crosoft.com> a écrit dans le
      > message de news:16F15704-752A-4494-82F0-079160034786@mi crosoft.com...[color=green]
      > > Dear all,
      > >
      > > I would like to be able to use the mouse wheel button in my windows
      > > application to scroll my control data.
      > >
      > > The weel gets two function, when you rotate it and whne you press it.
      > > How to handle that 2 function and tell to my control to scroll up or down
      > > based on wheel function?
      > >
      > > Any one have use it already?
      > >
      > > Thanks for your help
      > > regards
      > > serge[/color]
      >
      >
      >[/color]

      Comment

      • Patrice

        #4
        Re: Use of mouse wheel ???

        I'm sure it works here with the DataGrid control. I'll give this a try with
        the other controls...

        Patrice

        --

        "serge calderara" <sergecalderara @discussions.mi crosoft.com> a écrit dans le
        message de news:26B4A0EA-F164-4563-B9C5-B2D5FF714748@mi crosoft.com...[color=blue]
        > I ma using a treeView control, a listView control and a datagrid control
        > in a windows vb.net application
        >
        > Actually it is not doing anything even if scrool is set automatically
        >
        > "Patrice" wrote:
        >[color=green]
        > > What control are you using ? It should be handled automatically.. .
        > >
        > > --
        > >
        > > "serge calderara" <sergecalderara @discussions.mi crosoft.com> a écrit[/color][/color]
        dans le[color=blue][color=green]
        > > message de news:16F15704-752A-4494-82F0-079160034786@mi crosoft.com...[color=darkred]
        > > > Dear all,
        > > >
        > > > I would like to be able to use the mouse wheel button in my windows
        > > > application to scroll my control data.
        > > >
        > > > The weel gets two function, when you rotate it and whne you press it.
        > > > How to handle that 2 function and tell to my control to scroll up or[/color][/color][/color]
        down[color=blue][color=green][color=darkred]
        > > > based on wheel function?
        > > >
        > > > Any one have use it already?
        > > >
        > > > Thanks for your help
        > > > regards
        > > > serge[/color]
        > >
        > >
        > >[/color][/color]


        Comment

        • Mario

          #5
          Re: Use of mouse wheel ???

          the scrolling works just fine. You Dont have to prgram anything. i Just tried
          it and it worked automatically.

          make sure ur mouse is fine.



          "Patrice" wrote:
          [color=blue]
          > I'm sure it works here with the DataGrid control. I'll give this a try with
          > the other controls...
          >
          > Patrice
          >
          > --
          >
          > "serge calderara" <sergecalderara @discussions.mi crosoft.com> a écrit dans le
          > message de news:26B4A0EA-F164-4563-B9C5-B2D5FF714748@mi crosoft.com...[color=green]
          > > I ma using a treeView control, a listView control and a datagrid control
          > > in a windows vb.net application
          > >
          > > Actually it is not doing anything even if scrool is set automatically
          > >
          > > "Patrice" wrote:
          > >[color=darkred]
          > > > What control are you using ? It should be handled automatically.. .
          > > >
          > > > --
          > > >
          > > > "serge calderara" <sergecalderara @discussions.mi crosoft.com> a écrit[/color][/color]
          > dans le[color=green][color=darkred]
          > > > message de news:16F15704-752A-4494-82F0-079160034786@mi crosoft.com...
          > > > > Dear all,
          > > > >
          > > > > I would like to be able to use the mouse wheel button in my windows
          > > > > application to scroll my control data.
          > > > >
          > > > > The weel gets two function, when you rotate it and whne you press it.
          > > > > How to handle that 2 function and tell to my control to scroll up or[/color][/color]
          > down[color=green][color=darkred]
          > > > > based on wheel function?
          > > > >
          > > > > Any one have use it already?
          > > > >
          > > > > Thanks for your help
          > > > > regards
          > > > > serge
          > > >
          > > >
          > > >[/color][/color]
          >
          >
          >[/color]

          Comment

          • J L

            #6
            Re: Use of mouse wheel ???



            FFWIW,
            The scroll button does not work on my listviews either. Perhaps it is
            a setting or a driver specific issue?

            John

            On Wed, 22 Jun 2005 01:57:06 -0700, "Mario"
            <Mario@discussi ons.microsoft.c om> wrote:
            [color=blue]
            >the scrolling works just fine. You Dont have to prgram anything. i Just tried
            >it and it worked automatically.
            >
            >make sure ur mouse is fine.
            >
            >
            >
            >"Patrice" wrote:
            >[color=green]
            >> I'm sure it works here with the DataGrid control. I'll give this a try with
            >> the other controls...
            >>
            >> Patrice
            >>
            >> --
            >>
            >> "serge calderara" <sergecalderara @discussions.mi crosoft.com> a écrit dans le
            >> message de news:26B4A0EA-F164-4563-B9C5-B2D5FF714748@mi crosoft.com...[color=darkred]
            >> > I ma using a treeView control, a listView control and a datagrid control
            >> > in a windows vb.net application
            >> >
            >> > Actually it is not doing anything even if scrool is set automatically
            >> >
            >> > "Patrice" wrote:
            >> >
            >> > > What control are you using ? It should be handled automatically.. .
            >> > >
            >> > > --
            >> > >
            >> > > "serge calderara" <sergecalderara @discussions.mi crosoft.com> a écrit[/color]
            >> dans le[color=darkred]
            >> > > message de news:16F15704-752A-4494-82F0-079160034786@mi crosoft.com...
            >> > > > Dear all,
            >> > > >
            >> > > > I would like to be able to use the mouse wheel button in my windows
            >> > > > application to scroll my control data.
            >> > > >
            >> > > > The weel gets two function, when you rotate it and whne you press it.
            >> > > > How to handle that 2 function and tell to my control to scroll up or[/color]
            >> down[color=darkred]
            >> > > > based on wheel function?
            >> > > >
            >> > > > Any one have use it already?
            >> > > >
            >> > > > Thanks for your help
            >> > > > regards
            >> > > > serge
            >> > >
            >> > >
            >> > >[/color]
            >>
            >>
            >>[/color][/color]

            Comment

            • Patrice

              #7
              Re: Use of mouse wheel ???

              Yes I checked the treeview and listview and scrolling works (thought page
              scrolling doesn't or perhaps should I set some properties to define the page
              increment).

              Looks like it's a device problem...
              --

              "J L" <john@marymonte .com> a écrit dans le message de
              news:jp3mb1huju hb170moabccqm84 tl0hrogfo@4ax.c om...[color=blue]
              >
              >
              > FFWIW,
              > The scroll button does not work on my listviews either. Perhaps it is
              > a setting or a driver specific issue?
              >
              > John
              >
              > On Wed, 22 Jun 2005 01:57:06 -0700, "Mario"
              > <Mario@discussi ons.microsoft.c om> wrote:
              >[color=green]
              > >the scrolling works just fine. You Dont have to prgram anything. i Just[/color][/color]
              tried[color=blue][color=green]
              > >it and it worked automatically.
              > >
              > >make sure ur mouse is fine.
              > >
              > >
              > >
              > >"Patrice" wrote:
              > >[color=darkred]
              > >> I'm sure it works here with the DataGrid control. I'll give this a try[/color][/color][/color]
              with[color=blue][color=green][color=darkred]
              > >> the other controls...
              > >>
              > >> Patrice
              > >>
              > >> --
              > >>
              > >> "serge calderara" <sergecalderara @discussions.mi crosoft.com> a écrit[/color][/color][/color]
              dans le[color=blue][color=green][color=darkred]
              > >> message de news:26B4A0EA-F164-4563-B9C5-B2D5FF714748@mi crosoft.com...
              > >> > I ma using a treeView control, a listView control and a datagrid[/color][/color][/color]
              control[color=blue][color=green][color=darkred]
              > >> > in a windows vb.net application
              > >> >
              > >> > Actually it is not doing anything even if scrool is set automatically
              > >> >
              > >> > "Patrice" wrote:
              > >> >
              > >> > > What control are you using ? It should be handled automatically.. .
              > >> > >
              > >> > > --
              > >> > >
              > >> > > "serge calderara" <sergecalderara @discussions.mi crosoft.com> a[/color][/color][/color]
              écrit[color=blue][color=green][color=darkred]
              > >> dans le
              > >> > > message de[/color][/color][/color]
              news:16F15704-752A-4494-82F0-079160034786@mi crosoft.com...[color=blue][color=green][color=darkred]
              > >> > > > Dear all,
              > >> > > >
              > >> > > > I would like to be able to use the mouse wheel button in my[/color][/color][/color]
              windows[color=blue][color=green][color=darkred]
              > >> > > > application to scroll my control data.
              > >> > > >
              > >> > > > The weel gets two function, when you rotate it and whne you[/color][/color][/color]
              press it.[color=blue][color=green][color=darkred]
              > >> > > > How to handle that 2 function and tell to my control to scroll up[/color][/color][/color]
              or[color=blue][color=green][color=darkred]
              > >> down
              > >> > > > based on wheel function?
              > >> > > >
              > >> > > > Any one have use it already?
              > >> > > >
              > >> > > > Thanks for your help
              > >> > > > regards
              > >> > > > serge
              > >> > >
              > >> > >
              > >> > >
              > >>
              > >>
              > >>[/color][/color]
              >[/color]


              Comment

              Working...