Results 1 to 4 of 4

Thread: [2008] Mousewheel scrolling

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2004
    Location
    Ohio
    Posts
    153

    [2008] Mousewheel scrolling

    Hi, is it possible to emulate a mouse wheel scroll up/down with VB?

    If so can someone let me know how this works please

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2008] Mousewheel scrolling

    You can call the SendInput function from the Windows API. You should read the documentation on MSDN and then look for examples already posted on the forum. There may be examples in the CodeBank forum too.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: [2008] Mousewheel scrolling

    Or the mouse_event API using the constant MOUSEEVENTF_WHEEL?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2008] Mousewheel scrolling

    Quote Originally Posted by dee-u
    Or the mouse_event API using the constant MOUSEEVENTF_WHEEL?
    People still do use mouse_event but the doco does say that it's obsolete and you should use SendInput instead.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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