DOCERR: AfxMessageBox Missing Information in MFC.HLPLast reviewed: July 22, 1997Article ID: Q113425 |
1.50
WINDOWS
kbprg kbdocerr
The information in this article applies to:
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.
RESOLUTIONThe 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 INFORMATIONThe 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 reference words: 1.50 2.50 pushbutton doc err command
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |