indexing
description: "Interface on the MessageBox function."
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class interface
WEL_MSG_BOX
create
make
feature
flag_set (flags, mask: INTEGER): BOOLEAN
maskflags
WEL_BIT_OPERATIONS
language: INTEGER
message_box_result: INTEGER
xxx_message_box
WEL_ID_CONSTANTS
sublanguage: INTEGER
feature
basic_message_box (a_window: WEL_WINDOW; a_text, a_title: STRING; a_style: INTEGER)
a_text
a_titlea_stylea_style
MB_USERICON
WEL_MB_CONSTANTSa_style
require
basic_message_box: basic_msg_box (a_style)
text_not_void: a_text /= void
title_not_void: a_title /= void
clear_flag (flags, mask: INTEGER): INTEGER
maskflags
WEL_BIT_OPERATIONS
ensure WEL_BIT_OPERATIONS
flag_unset: not flag_set (Result, mask)
error_message_box (a_window: WEL_WINDOW; a_text, a_title: STRING)
a_text
a_title
require
text_not_void: a_text /= void
title_not_void: a_title /= void
information_message_box (a_window: WEL_WINDOW; a_text, a_title: STRING)
a_text
a_title
require
text_not_void: a_text /= void
title_not_void: a_title /= void
make
question_message_box (a_window: WEL_WINDOW; a_text, a_title: STRING)
a_text
a_title
require
text_not_void: a_text /= void
title_not_void: a_title /= void
set_flag (flags, mask: INTEGER): INTEGER
maskflags
WEL_BIT_OPERATIONS
ensure WEL_BIT_OPERATIONS
flag_set: flag_set (Result, mask)
set_language (a_language_id, a_sublanguage_id: INTEGER)
require
valid_langid: a_language_id > 0
valid_sublangid: a_sublanguage_id > 0
ensure
language_set: language = a_language_id
sublanguage_set: sublanguage = a_sublanguage_id
user_icon_message_box (a_window: WEL_WINDOW; a_text, a_title: STRING; a_style, an_id: INTEGER)
an_id
a_texta_titlea_style
MB_USERICONa_style
WEL_MB_CONSTANTSa_style
require
user_message_box: not basic_msg_box (a_style)
text_not_void: a_text /= void
title_not_void: a_title /= void
warning_message_box (a_window: WEL_WINDOW; a_text, a_title: STRING)
a_text
a_title
require
text_not_void: a_text /= void
title_not_void: a_title /= void
feature
basic_msg_box (a_style: INTEGER): BOOLEAN
a_styleMb_usericon
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- WEL_MSG_BOX