Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


Cause

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

↑ Back to the top


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.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


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

↑ Back to the top


Keywords: kbtshoot, kbprb, KB899175

↑ Back to the top

Article Info
Article ID : 899175
Revision : 3
Created on : 6/13/2005
Published on : 6/13/2005
Exists online : False
Views : 299