0 votes
39 views

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

by (1.4k points)   | 39 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
+3 votes
1 answer
asked Apr 12 by athar (3.3k points) | 51 views
+1 vote
2 answers
+2 votes
1 answer
+2 votes
0 answers
asked Jun 12 by toheed (1.4k points) | 20 views
+1 vote
0 answers
asked Jun 5 by toheed (1.4k points) | 15 views
+2 votes
1 answer
asked Jun 5 by toheed (1.4k points) | 17 views
+1 vote
1 answer
asked Jun 13 by noor (1.1k points) | 15 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.
118 questions
90 answers
43 comments
110 users