| 1. | What is the MFC? | |
| 2. | What method is used to move data from variables to the associated components? | |
| 3. | List five common components used in Visual C++. | |
| 4. | List 4 methods of CString. | |
| 5. | What two functions do all Windows programs have? | |
| 6. | What header file must be included in order to use the message box function? | |
| 7. | What is the purpose of the Class Wizard? | |
| 8. | What is the title of the second tab in the Class Wizard? | |
| 9. | List at least two constants for the message beep function. | |
Answers
| 1. | Microsoft Foundation Classes, a set of 200+ classes that are wrappers for Windows API functions. |
| 2. | UpdateData(TRUE) |
| 3. | Static Box, Edit Box, Picture, Combo Box, List Box, Button, Tab Control, Tree Control, List Control |
| 4. | GetLength, MakeUpper, MakeLower, MakeReverse, find, compare mid |
| 5. | WinMain and WinProc |
| 6. | |
| 7. | To automate the process of mapping messages to functions, and mapping variables to components |
| 8. | Member Variables |
| 9. | MB_ICONASTERISK, MB_ICONHAND, MB_OK, MB_ICONEXCLAMATION |