How to show Action Keys in window application always

I have a window application that has a menu that contains some items like 'File', 'Open','Save','Close'. I have added a Action Keys to the every items in menu as given below.

&File, &Open, &Save, &Close

Now when I run my application the all items visible without underline (Ex. File, Open , Save, Close) and when I press Alt button it appears with underline. And when I press Alt again the underline go invisible.

My problem is how can I set Action Keys to all the menu items that the underline always be visible either I press Alt button or not and when page load first time.

I am using Visual Studio 4.0 and Windows 7.


One of the possible solutions is overriding of menu items painting. For example when using the MenuStrip you can override it painting using the following code:

menuStrip1.Renderer = new CustomMenuStripRenderer();
class CustomMenuStripRenderer : ToolStripSystemRenderer {
    protected override void OnRenderItemText(ToolStripItemTextRenderEventArgs e) {
        e.TextFormat &= ~TextFormatFlags.HidePrefix; // Clear the "HidePrefix" bit

Need Your Help

python 2.7 force round up 2 decimal places

python floating-point decimal rounding

I'm trying to force a float to round up to the 2nd decimal place. I know this isn't the best practice, but it's what I need for a program I'm working on. So for example:

How can I use if my whole app and data is local?


I'm making a totally local Backbone app, no server-side included, and I provide the app with some initial local data. The data is actually the Collection data which is a json file and stored in a f...