- Start Microsoft Visual Studio 11 Developer Preview.
- Click New Project...
![New Project... New Project...](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMNiSayQTM47y0TXCY1g1yUtpeMedkzoSmphzKVopWYs632NtcizFlt5YDlLANTv7DPgBEYC8nF8ckWbxH0nuP2P9xGNaAv9DD5Hs-gw4gOBOgfzJ9njOJmqAqh6coqtbC2sYl6HmA_nw/s400/HelloMFC_01.png)
- Select Visual C++ MFC Application template, with name of HelloMFC.
![Select Visual C++ MFC Application template Select Visual C++ MFC Application template](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhffYd-etIJV7sFfGJaxjyhc9d45B5RP4ll60LHsc-fBi2MjeENmuUCme4GIN5wqor-eIlZhcYzjGAvDiUOvhb1xfI0QWvngLqurhG5TaFc6pI_kiPIlPM3CV0IJMSubw877w2e8QizQuY/s400/HelloMFC_02.png)
- The current project settings show the default selection, click Next to modify the setting.
![Project Setting Project Setting](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3ZTCY9GpW3PjXJN_QzKiuODsD1Abeaz2PeZsT61UiCZUxGaneQbP0rjQ-c1uUmV_s6J5rspxxbpOexl1OZZneOIqEx3Sz76uzf8cnWaIwnVhz6Au73L1mj3tHqbHg_CJY81furzyTwBI/s400/HelloMFC_03.png)
- The default Application type is Tabbed Multiple documents, click to select Single document. Select Project style of MFC standard, instead of default Visual Studio. Select Visual style and colors using Windows Native/Default.
[Tips: Move your mouse over any of the options in the dialog, a tooltip will be displayed to explaine the option.]
![Application Type Application Type](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYnaPP9JEqMQorbzXK12ZTubrwzZd-kGFhxnhpIoM9J695QxmbcYSkcqAiGv612ZZaHfatFzyBzaDLuWJu9_A7_vGUNnvae2_7Ibj7yn7igmqL5T2QSVtcTKTENLp-hzMLR0ddUmzSZ3M/s400/HelloMFC_04.png)
- Accept all other default selection by clicking Finish.
- The application wizard will creat the HelloMFC application for you.
- In the Solution Explorer on the right, scroll down and double click to open ReadMe.txt. The ReadMe.txt file contains a summary of what you will find in each of the files that make up your HelloMFC application.
![ReadMe.txt ReadMe.txt](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj41cBF85NZd5PtCz8FFcgxNcJfGmDMS-f6h0In2zcdvw0E-epx_8yzGr4xWKYsMNBgZ1CRNu6Zxl6iXZdhQ3ix59ailAwgfjdTwdA-uBbbuI5XHhy15JXkHOmY_y73fXKxM7JtyVaQdzI/s400/HelloMFC_05.png)
- Finally you can Save All your work, Build and Run HelloMFC to see what happen:
![HelloMFC HelloMFC](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMJ7-VA9OZIMpXVvEtdIvYPx6BLcFJynwuomNMY1Nt9-s9s80l8JsPHJeQedjYUK_beW74uRkBm6VmcEiTWHqbkOwLgfGH16wFUpELDD9tRSDIE5dbiziN8VUeqJlefNg_SCyAKRZ7PS4/s400/HelloMFC_06.png)
No comments:
Post a Comment