Chapter 15


1.

What is the MFC?

microsoft foundation classes, a set of 200+ classes that are wrappers for windows api functions.

2.

What method is used to move data from variables to the associated components?

 updatedata(true)

3.

List five common components used in Visual C++.

 static box , edit box , picture , combo box , list box , button , tabcontrol , tree control , list control

4.

List 4 methods of CString.

 getlength , makeupper , makelower , makereverse , find , compare mid

5.

What two functions do all Windows programs have?

 winmain and winproc

6.

What header file must be included in order to use the message box function?

 stdafx.h

7.

What is the purpose of the Class Wizard?

to automate the process of mapping messages to functions, and mapping variables to components

8.

What is the title of the second tab in the Class Wizard?

 member variables

9.

List at least two constants for the message beep function.

 mb_iconasterisk, mb_iconhand, mb_ok, mb_iconexclamation

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.

stdafx.h

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




C++ Programming Fundamentals
C++ Programming Fundamentals (Cyberrookies)
ISBN: 1584502371
EAN: 2147483647
Year: 2005
Pages: 197
Authors: Chuck Easttom

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net