Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8235859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T18:57:32+00:00 2026-06-07T18:57:32+00:00

I am using MenuStrip in my project in vb.net. I have created two main

  • 0

I am using MenuStrip in my project in vb.net. I have created two main menus: one is Master and the other is Help. Now anyone press ALT   +M then it will open master menu and if press ALT   +H then it will open Help menu.

Now I want to prevent this functionality and restrict user to press ALT   +[ A KEY ] to open menu.

Can anyone give me an idea to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T18:57:34+00:00Added an answer on June 7, 2026 at 6:57 pm

    Set your form’s KeyPreview property to True and test for the key combinations you want to prevent in its KeyDown event, then set e.SuppressKeyPress = True.

    However, I would generally recommend against doing this. People expect to be able to access menus using keyboard shortcuts in Windows applications. Denying them that option makes an application (a) non-compliant with Windows standards, and (b) less user friendly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WinForms Form (C#/.Net) and it contains a PictureBox, MenuStrip, Panel and
I am doing project in vb.net using ms access I used listview to display
I have successfully created DragDrop functionality with user controls. Now I am trying to
Is there another way to create the main menu in C# other than using
MenuStrip doesn't support using ImageList images. What are performance issues of this? Are there
Is there a way to get a menustrip instead of an HMENU when using
I'm using NotifyIcon (System tray icon) in my WinForms application. I also have a
I am using windows forms. I have a problem in handling mouse events. In
Situation: Automatically generated memebers, such as MenuStrip items, have their (automatically generated) names based
I am using C#, Winforms, and .Net 3.5 My form has a custom DataGridView

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.