Visual Studio 2022 setup and corresponding function

Renjie Zhang 45 Reputation points
2024-03-10T08:29:52.69+00:00

1.            At the bottom of the workloads, no MFC could be selected, is it right?

2.            What is the corresponding function of the button "open" in the red frame in below picture2? which class of the function?

User's image

User's image

Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

Accepted answer
  1. gekka 12,206 Reputation points MVP Volunteer Moderator
    2024-03-10T13:25:02.4666667+00:00

    You can select MFC in Individual Components tab

    installer en-us
    installer zh-cn

    When you choose to create a C++ MFC project, a wizard will appear that will automatically create a window with file select button implemented by selecting "Use a menu bar and toolbar" in the wizard.

    wizard en-us
    wizard zh-cn

    The classes for the button are CMFCToolBar and CMFCToolBarButton.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.