Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / September 2007

Tip: Looking for answers? Try searching our database.

Global Middle mouse button click - check if hook conflict with other program

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alistair George - 25 Sep 2007 23:00 GMT
Hi.
Can assign global hotkeys, but I desire to have middle mouse button a
global event, which instantiates a  menu. However, Firefox, and a few
other programs use the same button as well. I would like to be able to
check if the current visible form (not my program) is using this
key/button and if so, the event is not hooked by myprogram. Any pointers?
Thanks, Alistair.
Nicholas Paldino [.NET/C# MVP] - 26 Sep 2007 16:18 GMT
Alistair,

   Have you considered what you do if you have software like Microsoft's
Intellimouse software installed?  In that case, it usually causes you to
capture the scrollbar of the window that currently has focus, and then
allows you to move that scrollbar with the mouse.

Signature

         - Nicholas Paldino [.NET/C# MVP]
         - mvp@spam.guard.caspershouse.com

> Hi.
> Can assign global hotkeys, but I desire to have middle mouse button a
[quoted text clipped - 3 lines]
> key/button and if so, the event is not hooked by myprogram. Any pointers?
> Thanks, Alistair.
Alistair George - 26 Sep 2007 19:27 GMT
> Alistair,
>
>     Have you considered what you do if you have software like Microsoft's
> Intellimouse software installed?  In that case, it usually causes you to
> capture the scrollbar of the window that currently has focus, and then
> allows you to move that scrollbar with the mouse.

I hear what you are saying - worth looking at, but also the event that
happens in Firefox for instance, is that a wheel click bring us the
direction cursor, so I expect two tests would be necessary.
Cheers, Al.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.