Microsoft KB Archive/113425

{|
 * width="100%"|

DOC: AfxMessageBox Missing Information in MFC.HLP

 * }

Q113425

-

The information in this article applies to:


 * The Microsoft Foundation Classes (MFC), included with:
 * Microsoft Visual C++

-

SUMMARY
The help file, MFC.HLP, for the Microsoft Foundation Class (MFC) Libraries is missing information for the AfxMessageBox function. The missing information describes the nType parameter, which is the second parameter to the AfxMessageBox function and describes the style of the message box.

Under Microsoft Visual C++ for Windows, version 1.0, the MFC.HLP file for the MFC Library version 2.0 contains a jump to a description of the values for nType. The MFC 2.5 help file supposedly lists the values for nType in the AfxMessageBox help text, but this text is missing.

RESOLUTION
The message box styles used as the nType parameter are documented in the MessageBox functions for both the MFC and the Windows Software Development Kit (SDK) help files.

MORE INFORMATION
The message box styles used for the nType parameter can be one of the following constants, defined in WINDOWS.H:

  Value                   Message Box Style -

MB_ABORTRETRYIGNORE    Message box with three buttons: Abort, Retry, and Ignore

MB_OK                  Message box with one button labeled OK

MB_OKCANCEL            Message box with two buttons: OK and Cancel

MB_YESNO               Message box with two buttons: Yes and No

MB_YESNOCANCEL         Message box with three buttons: Yes, No, and Cancel Additional query words: 1.50 2.50 pushbutton doc err command

Keywords : kb16bitonly

Issue type :

Technology : kbAudDeveloper kbMFC