In the "Control Panel > Ease of Access Centre > Make the keyboard easier to use" is an option to "Underline keyboard shortcuts and access keys."
Is there a way of programatically switching this on and off? I'm using Visual Basic Scripts, but can use .NET.