The MessageBox function returns an incorrect value when you click either "Continue" or "Try Again" in a MessageBox control in Windows 2000, in Windows XP, and in Windows Server 2003 (899175)
The information in this article applies to:
- Microsoft Windows Server 2003, Datacenter Edition
- Microsoft Windows Server 2003, Enterprise Edition
- Microsoft Windows Server 2003, Standard Edition
- Microsoft Windows Server 2003, Web Edition
- Microsoft Windows 2000 Professional
- Microsoft Windows 2000 Server
- Microsoft Windows XP Home Edition
- Microsoft Windows XP Professional
SYMPTOMSIn Microsoft Windows 2000, Microsoft Windows XP, and Microsoft Windows Server 2003, when you click either Continue or Try Again in a MessageBox control, the MessageBox function returns an incorrect value.
Note The MessageBox function returns correct values when you only use the MB_CANCELTRYCONTINUE flag without using the MB_SERVICE_NOTIFICATION flag. CAUSEThis problem occurs when you use the MB_SERVICE_NOTIFICATION|MB_CANCELTRYCONTINUE combination of flags to call the MessageBox function.WORKAROUNDTo work around this problem, use another three-button MessageBox flag. For example, use the MB_ABORTRETRYIGNORE flag together with the MB_SERVICE_NOTIFICATION flag when you call the MessageBox function.STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Major | Last Reviewed: | 6/13/2005 |
---|
Keywords: | kbtshoot kbprb KB899175 kbAudDeveloper |
---|
|