0 votes
63 views

hi, I am new to Visual C++ and i want to know how to create a project with GUI.

by (1.4k points)   | 63 views

1 Answer

0 votes

Here is how to create gui based project

Select Visual C++ CLR and CLR Empty Project and type in Sample1 for the project name. The, OK.

Project->Add New Item... .

Select UI under Visual C++.

Leave the Form name as given by default MyForm.h

Then, click Add.

Now we need to change MyForm.h

The System namespace provides functions to work with UI controls.

At the right-mouse click on Sample1, we get the Properties window.

Configuration Properties->Linker->System Select Windows (/SUBSYSTEM:WINDOWS) for SubSystem. Advanced->Entry Point, type in Main. Then, hit OK.

Hit F5, then we will have to run result, the Form.

by (3.3k points)  

Related questions

+2 votes
3 answers
asked May 21, 2020 by athar (3.3k points) | 115 views
+3 votes
1 answer
asked Apr 12, 2020 by athar (3.3k points) | 60 views
+1 vote
2 answers
+1 vote
1 answer
+2 votes
1 answer
+2 votes
0 answers
asked Jun 12, 2020 by toheed (1.4k points) | 36 views
+1 vote
0 answers
asked Jun 5, 2020 by toheed (1.4k points) | 19 views
+2 votes
1 answer
asked Jun 5, 2020 by toheed (1.4k points) | 30 views
+1 vote
1 answer
asked Jun 13, 2020 by noor (1.1k points) | 20 views




Welcome to Meansflow - Where Developers and Students Learn, Share, & Build Careers, where you can ask questions and receive answers from other members of the community.
121 questions
92 answers
43 comments
121 users