IAdeUICallbacks::MsgBox

Revision as of 03:05, 27 October 2015 by Jhuawen (talk | contribs) (Created page with "«title»参数指明信息框的标题。")

ADE User Guide > ADE Server Class Reference > IAdeUICallbacks

Other languages:
English • ‎中文

long IAdeUICallbacks::MsgBox(string title, string text, long buttons)

Called when the MsgBox() function is evaluated. You implement this method to display a message box or other feedback to your end-user.

参 数

«title»参数指明信息框的标题。

The «text» is the text to display in the body of the message box.

The «buttons» parameter has the following values:

  • 0 = OK only
  • 1 = OK and Cancel [Default]
  • 2 = Abort, Retry and Ignore
  • 3 = Yes, No and Cancel
  • 4 = Yes and No
  • 5 = Retry and Cancel

which are then added to one of these values:

  • 0 = no icon
  • 16 = Critical
  • 32 = Question
  • 48 = Exclamation
  • 64 = Information

Return value

The return value indicates what button was pressed to terminate the message box, as follows:

  • 1 = OK
  • 2 = Cancel
  • 3 = Abort
  • 4 = Retry
  • 5 = Ignore
  • 6 = Yes
  • 7 = No

See Also

Comments


You are not allowed to post comments.