Interface study notes (1) MFC new project

(1) Some experience

I am ashamed to learn what I should have mastered a year ago. Interface learning is inescapable, and once you get started, you will be addicted to it. My first interface was born more than a month ago as a chat tool for computer network classes. I wrote it directly in IDLE with a clean interface, the python tkinter library, it was really handy, because there was no trouble of complicated software installation and operation, it made me feel the sense of accomplishment of making the interface for the first time, and I also had a strong interest. Then I wanted to challenge more complicated software, and I had to start learning (remedy). The second interface is MFC's Compressor, both of which have been used on the interface for three days. Now I have to see Qt, which I don't want to see (but it seems that Qt is indeed much more convenient than MFC). Using Qt to make Sudoku games must be more sour and cool, and it must be more fulfilling. At the same time, I published Yuansheng’s first hand-practice blog to see if I can keep the record.

(2) New projects

The vs version does not affect, I use vs2017.
Insert picture description here
Modify your project name and location directory and click "OK".
Insert picture description here
Select "Dialog based" and click "Finish".
Insert picture description here

(3) Interface layout

Open my recently used project to show a wave of results (I changed to 64-bit next to the debugger, don’t worry)
Insert picture description here

Resource view

"View" → "Other Window" → "Resource View".

Toolbox

I positioned the toolbox to the right, which is to use my imagination on these controls.
If you close it accidentally, select "View" → "Toolbox", or press the shortcut key "Ctrl+Alt+X".
Insert picture description here

Moment of accomplishment

Find the project directory you built, open the Debug folder, there is an exe program you made yourself. Click to run it directly. (But sending to others is not simply sending this .exe, then you have to check the MFC package and send.)
Insert picture description here
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_43144103/article/details/105258910