| Adam Vandenberg ( @ 2005-10-06 21:07:00 |
| Entry tags: | dotnet, programming |
Using Back/Forward mouse buttons in .NET
The Code Project: Using Hooks from C#.
Sample code that shows how to process the Back and Forward mouse buttons in a .NET application, using the "Local Windows Hook." Also includes an IComponent that wraps up the hook and translates Windows Messages into useful .NET events.
It's all rather more complicated than it seems it ought to be, considering how long five button mice have been around now.