com.jniwrapper.win32.ui
Class MessageBox

java.lang.Object
  extended by com.jniwrapper.win32.ui.MessageBox

public class MessageBox
extends java.lang.Object


Field Summary
static int ABORTRETRYIGNORE
          Makes the message box display the Abort, Retry, and Ignore buttons.
static int DEFBUTTON1
           
static int DEFBUTTON2
           
static int DEFBUTTON3
           
static int ICONASTERISK
          Makes the message box display an asterisk icon.
static int ICONERROR
          Makes the message box display the error icon.
static int ICONEXCLAMATION
          Makes the message box display the exclamation icon.
static int ICONHAND
          Indicates that a hand icon should be displayed on the message box.
static int ICONINFORMATION
          Makes the message box display the information icon.
static int ICONQUESTION
          Makes the message box display the question mark.
static int ICONSTOP
          Makes the message box display the stop icon.
static int ICONWARNING
          Makes the message box display the warning icon.
static int IDABORT
           
static int IDCANCEL
           
static int IDCLOSE
           
static int IDHELP
           
static int IDIGNORE
           
static int IDNO
           
static int IDOK
           
static int IDRETRY
           
static int IDYES
           
static int OK
          Makes the message box display the OK button.
static int OKCANCEL
          Makes the message box display the OK and Cancel buttons.
static int RETRYCANCEL
          Makes the message box display the Retry and Cancel buttons.
static int YESNO
          Makes the message box display the Yes and No buttons.
static int YESNOCANCEL
          Makes the message box display the Yes, No, and Cancel buttons.
 
Constructor Summary
MessageBox()
           
 
Method Summary
static void show(java.lang.String title, java.lang.String message)
           
static int show(java.lang.String title, java.lang.String message, int flags)
           
static int show(Wnd hWnd, java.lang.String title, java.lang.String message, int flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OK

public static final int OK
Makes the message box display the OK button.

See Also:
Constant Field Values

OKCANCEL

public static final int OKCANCEL
Makes the message box display the OK and Cancel buttons.

See Also:
Constant Field Values

ABORTRETRYIGNORE

public static final int ABORTRETRYIGNORE
Makes the message box display the Abort, Retry, and Ignore buttons.

See Also:
Constant Field Values

YESNOCANCEL

public static final int YESNOCANCEL
Makes the message box display the Yes, No, and Cancel buttons.

See Also:
Constant Field Values

YESNO

public static final int YESNO
Makes the message box display the Yes and No buttons.

See Also:
Constant Field Values

RETRYCANCEL

public static final int RETRYCANCEL
Makes the message box display the Retry and Cancel buttons.

See Also:
Constant Field Values

ICONHAND

public static final int ICONHAND
Indicates that a hand icon should be displayed on the message box.

See Also:
Constant Field Values

ICONQUESTION

public static final int ICONQUESTION
Makes the message box display the question mark.

See Also:
Constant Field Values

ICONEXCLAMATION

public static final int ICONEXCLAMATION
Makes the message box display the exclamation icon.

See Also:
Constant Field Values

ICONASTERISK

public static final int ICONASTERISK
Makes the message box display an asterisk icon.

See Also:
Constant Field Values

ICONSTOP

public static final int ICONSTOP
Makes the message box display the stop icon.

See Also:
Constant Field Values

ICONERROR

public static final int ICONERROR
Makes the message box display the error icon.

See Also:
Constant Field Values

ICONWARNING

public static final int ICONWARNING
Makes the message box display the warning icon.

See Also:
Constant Field Values

ICONINFORMATION

public static final int ICONINFORMATION
Makes the message box display the information icon.

See Also:
Constant Field Values

DEFBUTTON1

public static final int DEFBUTTON1
See Also:
Constant Field Values

DEFBUTTON2

public static final int DEFBUTTON2
See Also:
Constant Field Values

DEFBUTTON3

public static final int DEFBUTTON3
See Also:
Constant Field Values

IDOK

public static final int IDOK
See Also:
Constant Field Values

IDCANCEL

public static final int IDCANCEL
See Also:
Constant Field Values

IDABORT

public static final int IDABORT
See Also:
Constant Field Values

IDRETRY

public static final int IDRETRY
See Also:
Constant Field Values

IDIGNORE

public static final int IDIGNORE
See Also:
Constant Field Values

IDYES

public static final int IDYES
See Also:
Constant Field Values

IDNO

public static final int IDNO
See Also:
Constant Field Values

IDCLOSE

public static final int IDCLOSE
See Also:
Constant Field Values

IDHELP

public static final int IDHELP
See Also:
Constant Field Values
Constructor Detail

MessageBox

public MessageBox()
Method Detail

show

public static int show(Wnd hWnd,
                       java.lang.String title,
                       java.lang.String message,
                       int flags)

show

public static int show(java.lang.String title,
                       java.lang.String message,
                       int flags)

show

public static void show(java.lang.String title,
                        java.lang.String message)