Windows programming

Moderators: None (Apply to moderate this forum)
Number of threads: 3711
Number of posts: 9173

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Mapping third mouse button. Posted by lifter on 2 Jan 2003 at 2:22 PM
The users where I work have Logitech scroll mice, you can click down on the scroll wheel as if it were a third mouse button. Their computers have software that allows you to map that button to do things like "copy" "maximise" "F1" "F3" etc. It has about twenty choices but the choice that I need is not there.

I need it so that when the user presses that middle button it will emulate the user typing "Ctrl L." I have been screwing around with VBscripts and batch files and all kinds of crazy workarounds to get this mouse to do what I need but have not been able to solve this problem.

Any suggestions would be helpful; registry hacks, undocumented features, links to a freeware site that has an app that will allow me to do what I need to do, ANYTHING! Any help would be appreciated.


Report
Re: Mapping third mouse button. Posted by biki on 10 Jan 2003 at 1:39 PM
Try using SetWindowsHookEx() with the flag for 'Low Level Mouse Hook'...I don't remember the exact name for that flag :(

~Bikram




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.