indexing
description: "Contains information about the class, title, owner, location, and size of a MDI child window."
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class interface
WEL_MDI_CREATE_STRUCT
create
make (a_class_name: STRING; a_title: STRING)
a_class_name
a_title
ensure
class_name_set: class_name.is_equal (a_class_name)
title_set: title.is_equal (a_title)
owner_set: owner.item = main_args.current_instance.item
style_set: style = 0
lparam_set: lparam = default_pointer
feature
class_name: STRING
ensure
result_not_void: Result /= void
height: INTEGER
item: POINTER
WEL_ANY
lparam: POINTER
owner: WEL_INSTANCE
ensure
result_not_void: Result /= void
style: INTEGER
title: STRING
ensure
result_not_void: Result /= void
width: INTEGER
x: INTEGER
y: INTEGER
feature
structure_size: INTEGER
ensure WEL_STRUCTURE
positive_result: Result > 0
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_class_name (a_class_name: STRING)
class_namea_class_name
require
a_class_name_valid: a_class_name /= void
ensure
class_name_set: class_name.is_equal (a_class_name)
set_height (a_height: INTEGER)
heighta_height
set_item (an_item: POINTER)
iteman_item
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
set_lparam (a_lparam: POINTER)
lparama_lparam
ensure
lparam_set: lparam = a_lparam
set_owner (an_owner: WEL_INSTANCE)
owneran_owner
require
an_owner_not_void: an_owner /= void
ensure
owner_set: owner.item = an_owner.item
set_style (a_style: INTEGER)
stylea_style
ensure
style_set: style = a_style
set_title (a_title: STRING)
titlea_title
require
a_title_valid: a_title /= void
ensure
title_set: title.is_equal (a_title)
set_width (a_width: INTEGER)
widtha_width
set_x (a_x: INTEGER)
xa_x
set_y (a_y: INTEGER)
ya_y
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_MDI_CREATE_STRUCT