Partager via


_MsgBox (Windows CE 5.0)

Send Feedback

This function displays a message box with OK and Cancel buttons on the target device.

int _MsgBox(  BSTR String);

Parameters

  • String
    Text to display in the message box.

Return Values

If OK is chosen, this function returns IDOK, or 1. If Cancel is chosen, this function returns IDCANCEL, or 2.

Remarks

You can call this function from a script that Cescript.exe executes.

Requirements

OS Versions: Windows CE .NET 4.2 and later.

See Also

Scripting Host Functions | Scripting Host Tool

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.