indexing
description: "MSBOXPARAMS structure used by cwin_message_box_indirect"
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class interface
WEL_MSGBOXPARAMS
create
make_by_id (a_window: WEL_WINDOW; a_text, a_title: STRING; a_style, an_id, a_language, a_sublanguage: INTEGER)
a_windowa_text
a_titlea_style
a_languagea_sublanguage
require
text_not_void: a_text /= void
title_not_void: a_title /= void
valid_id: an_id > 0
valid_lang: a_language > 0
valid_sublang: a_sublanguage > 0
make_basic (a_window: WEL_WINDOW; a_text, a_title: STRING; a_style, a_language, a_sublanguage: INTEGER)
a_windowa_texta_title
a_style
a_languagea_sublanguage
require
text_not_void: a_text /= void
title_not_void: a_title /= void
valid_language: a_language > 0
valid_sublanguage: a_sublanguage > 0
feature
item: POINTER
WEL_ANY
feature
exists: BOOLEAN
item
WEL_ANY
ensure WEL_ANY
Result = (item /= default_pointer)
shared: BOOLEAN
item
item
destroy_item
item
WEL_ANY
feature
set_shared
shared
WEL_ANY
ensure WEL_ANY
shared: shared
set_unshared
shared
WEL_ANY
ensure WEL_ANY
unshared: not shared
feature
set_item (an_item: POINTER)
iteman_item
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
feature
dispose
Current
Current
WEL_ANY
feature
to_integer: INTEGER
item
WEL_ANY
ensure WEL_ANY
Result = cwel_pointer_to_integer (item)
feature
initialize
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
initialize_with_character (a_character: CHARACTER)
a_character
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
memory_copy (source_pointer: POINTER; length: INTEGER)
lengthsource_pointeritem
WEL_STRUCTURE
require WEL_STRUCTURE
length_small_enough: length <= structure_size
length_large_enough: length > 0
exists: exists
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- WEL_MSGBOXPARAMS