Microsoft SDK for Java

CommonDialog.showDialog

Displays a common dialog box and returns a value indicating whether the user clicked OK in the dialog box.

Syntax

public final int showDialog()

Return Value

Returns DialogResult.OK if the user clicked OK in the dialog box; otherwise, returns DialogResult.CANCEL.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.