How do I make menu items "active" when selecting a specific menu item from the main menu bar?

Discussion in 'C++' started by Kenneth Reid, Dec 28, 2021.

  1. Kenneth Reid

    Kenneth Reid New Member

    Joined:
    Dec 22, 2021
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Male
    Occupation:
    Disabled
    I am working on a new program using Visual Studio 2022. I have edited the main menu bar to display 9 different drop-down menus. Each drop-down menu has x menu items to choose from, some of which will display menu items (specific to that menu item). How do I write the code to make the menu items "active" when the user clicks on a menu item (i.e., when a menu item is clicked, it will open a new window to allow for user input)?

    I am new to writing Windows programs. I am not finding example code of how to do this from online searches.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice