In Windows, when you press Alt, and release it again, the menu bar gets activated. However, when you press Alt, then click, then release, the menu bar does not get activated because presumably you wanted to Alt+click, not activate the menu bar.
I want to support Alt+mouse wheel changes (which would map to horizontal scrolling). This works fine, but if you are ready and release the Alt key, the menu bar activates. Obviously this is not desirable. There must be some kind of action that Windows does internally when you Alt+click to cancel the internal 'ActivateMenuBarWhenAltIsReleased' flag. If I know what it is, I can do this myself when I receive a mouse wheel message.
So, does anyone know how the system works that activates the menu bar when you press and release Alt, and how to cancel this? Thanks!