[5.20LTS] ALT Behave The Same With Or Without Menu
Posted: Sat Sep 21, 2013 7:23 pm
Hello,
When you are in the PB Editor, if you press and release the ALT Key, you will see the menu is activated ('File' is depressed waiting for you to press other keys). Mainwhile mouse move events and such are 'captured' by the menu (if you move the mouse over the PB toolbar the icons wont be highlighted, for instance).
In a custom application, even if a Window does not have a Menu, pressing ALT still 'capture' the mouse move and no mouse event is transmitted (for instance to the CanvasGadget).
In case a Window does not have a Menu, pressing/releasing the ALT key should not 'capture' the Mouse and should behave like pressing on any other Key.
Cheers,
Guy.
When you are in the PB Editor, if you press and release the ALT Key, you will see the menu is activated ('File' is depressed waiting for you to press other keys). Mainwhile mouse move events and such are 'captured' by the menu (if you move the mouse over the PB toolbar the icons wont be highlighted, for instance).
In a custom application, even if a Window does not have a Menu, pressing ALT still 'capture' the mouse move and no mouse event is transmitted (for instance to the CanvasGadget).
In case a Window does not have a Menu, pressing/releasing the ALT key should not 'capture' the Mouse and should behave like pressing on any other Key.
Cheers,
Guy.