101
Circle Dock / Re: work around for middle button not working on X64 Win 7 Logitech mouse
« on: March 23, 2010, 01:53 PM »*** Something that may help track this down *** When middle click toggle is not working, other apps do NOT register the middle click. Something is still intercepting it. As soon as I quite CD the other apps register the middle clicks. That may indicate a different part of code is contributing to the issue.-worick (March 23, 2010, 09:44 AM)
Thanks for that! It does give me a clue as to where to start looking! It seems that the dotNet Garbage Collector is interfering with the low-level, global mouse event handler. I have added some protection to the various handles and delegates (ie the pointers to the callback routines); I have also forced Garbage Collection to occur immediately before setting the global hooks. Together I hope this will overcome the problem.
To test this, I have added a label to the Toggle Button and I'd greatly appreciate you testing the attached beta with the following settings:
- On the Visibility Tab ("Toggle Visibility"), enable Show Toggle Button when hidden
- On the Visibility Tab ("Show Dock"), enable any one (or more) of the Show Dock when I Move My Mouse to" options but choose an edge that you're unlikely to venture too close to under normal circumstances.
You can now hide the Dock and move the Toggle Button to a convenient location on the screen such that its label is visible. The label will continuously report on three mouse activities:
- As you move the mouse pointer around the screen, the Pointer's X and Y positions are shown
- When a mouse button is pressed, the label will report "Mouse ButtonID Down", so when you press the middle button - to toggle visibility - you should see "Mouse Middle Down"
- When a mouse button is released, the label reports "Mouse ButtonID Up"
Adding a modifier key like CTR now works correctly. Previously if I had a modifier key checked I could still toggle without pressing the key. It now correctly requires the key to be pressed.Ah! That's interesting. I have also made similar modifications to the keyboard handler.
The splash image when opening dock settings looks much better now. I know that is pretty minor but those little things count too.I agree, it's a better image
Mark