Results 1 to 5 of 5

Thread: Use VB to Change mouse buttons functions?

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 1999
    Posts
    5

    Question

    VBGurus,

    While there are APIs to swap buttons, I would like to change the assignments of my Intellimouse Explorer without having to go through the menu.

    How can I do it?

    TIA

    Michael

  2. #2
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554
    Can you explain more please.....


    DocZaf
    {;->

  3. #3
    Fanatic Member
    Join Date
    Apr 2000
    Location
    Whats a location?
    Posts
    516
    See if there is a DLL you can call API-like functions from in the Intellimouse's folder, like you can call API stuff from Kernel32.dll, gdi32.dll, advapi32.dll etc. Maybe there's a DLL called imAPI or something?

    I don't have an intellimouse, so I can't give you first-hand knowledge/advice.

    Courgettes.

  4. #4
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554
    Right, I get you,
    thanks, I don't have an intellimouse either unfortunaetly.

    DocZaf
    {;->

  5. #5
    Guest
    You have IntelliMouse? I used that once, but sent it back.
    It was hard as hell to create VB Program and stuff cuz the mouse pointer would not move and it was hard to resize forms and stuff.
    So I got rid of it all because VB made me do it ;].
    I guess I'm the move-mouse-with-hand and two-button-click kind of guy, hehe .

    Here is how to swap mouse buttons though.

    Code:
    'To swap the mouse buttons:
    'Call this function with the variable bSwap = True. 
    'Set bSwap to False to restore normal operation.
    
    Declare Function SwapMouseButton& Lib "user32" _
    (ByVal bSwap as long)
    [Edited by Matthew Gates on 08-02-2000 at 08:04 PM]

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