Microsoft KB Archive/899175

= The MessageBox function returns an incorrect value when you click either &quot;Continue&quot; or &quot;Try Again&quot; in a MessageBox control in Windows 2000, in Windows XP, and in Windows Server 2003 =

Article ID: 899175

Article Last Modified on 6/13/2005

-

APPLIES TO


 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Web Edition
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Server
 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional

-





SYMPTOMS
In 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.



CAUSE
This problem occurs when you use the MB_SERVICE_NOTIFICATION|MB_CANCELTRYCONTINUE combination of flags to call the MessageBox function.



WORKAROUND
To 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.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbtshoot kbprb KB899175

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.