User Interface module - SPUIInterface

Functions to enable user interactions with the script.

Constants

Dialog result

Result of message box dialog
ID_OK = 1
ID_CANCEL = 2
ID_ABORT = 3
ID_RETRY = 4
ID_IGNORE = 5
ID_YES = 6
ID_NO = 7

Buttons

What buttons shall appear in message box
MB_OK = 0
MB_OKCANCEL = 1
MB_ABORTRETRYIGNORE = 2
MB_YESNOCANCEL = 3
MB_YESNO = 4
MB_RETRYCANCEL = 5

Message box type

DLG_MT_CUSTOM = 0
DLG_MT_INFORMATION = 1
DLG_MT_WARNING = 2
DLG_MT_ERROR = 3
DLG_MT_CONFIRMATION = 4


Module methods

msg_box(caption, type, buttons)
input_dlg(caption, label, default, wx, wy, memo, read_only)
log(log_value)
get_translation(key)