result Property

Object List Next Object

Defined By:
MessageBox

Description:

Contains the result of the last posting of the message box

Details:

The result of the last posting of the MessageBox is maintained as the contents of the result property. Depending on the user's response, the result will be one of the following values:


User's Response Result


OK button selected. IDOK 1

Cancel button selected. IDCANCEL 2

Abort button selected. IDABORT 3

Retry button selected. IDRETRY 4

Ignore button selected. IDIGNORE 5

Yes button selected. IDYES 6

No button selected. IDNO 7

The constants IDOK, IDCANCEL, etc. are members of the Globals object User32.

Data Type: Long

See Also:

User32