Version 3 of How to get Menu Accelerators to work under Windows

Updated 2004-01-07 12:37:35

PWQ 7 Jan 03 I have an application that was developed under linux.

When I tested it out under Windows I found to my dismay that Alt-Key did not post the menus as it does under Linux.

What is the magic incantation to make it happen without binding each and every key?

RS I notice with my Tk app on Windows 2000, that Alt-F highlights the File menu, but the menu is often only posted after I hit <Return> too. This is without any underlines in the menu, or explicit bindings done by me. If several menus start with the same letter, they are cycled through on repeated Alt-(letter).

LES I am too busy and up against a deadline now to inspect my old code and investigate this, but I certainly know that (under Windows at least) there are two possible menu styles: one is gray and boring and "standard-looking" and the accelerators work, and the other is colored, way cool, but the accelerators don't work. I'll get back with more info if I can... :-(