indexing
description: "Contains message information about thread's message queue."
status: "See notice at end of class."
date: "$Date$"
revision: "$Revision$"
class interface
WEL_MSG
create
make
item
WEL_STRUCTURE
ensure WEL_STRUCTURE
not_shared: not shared
feature
hwnd: POINTER
item: POINTER
WEL_ANY
lparam: INTEGER
message
message: INTEGER
wparam: INTEGER
message
feature
structure_size: INTEGER
ensure WEL_STRUCTURE
positive_result: Result > 0
feature
dispatch_result: INTEGER
dispatch
exists: BOOLEAN
item
WEL_ANY
ensure WEL_ANY
Result = (item /= default_pointer)
last_boolean_result: BOOLEAN
getget_alltranslate
translate_acceleratordispatch
peek_result
quit: BOOLEAN
messageWm_quit
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_hwnd (a_hwnd: POINTER)
hwnda_hwnd
ensure
hwnd_set: hwnd = a_hwnd
set_item (an_item: POINTER)
iteman_item
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
set_lparam (a_lparam: INTEGER)
lparama_lparam
ensure
lparam_set: lparam = a_lparam
set_message (a_message: INTEGER)
messagea_message
ensure
message_set: message = a_message
set_wparam (a_wparam: INTEGER)
wparama_wparam
ensure
wparam_set: wparam = a_wparam
feature
dispose
Current
Current
WEL_ANY
feature
to_integer: INTEGER
item
WEL_ANY
ensure WEL_ANY
Result = cwel_pointer_to_integer (item)
feature
dispatch
get_all
initialize
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
initialize_with_character (a_character: CHARACTER)
a_character
WEL_STRUCTURE
require WEL_STRUCTURE
exists: exists
is_dialog_message (dialog: WEL_MODELESS_DIALOG)
dialog
require
dialog_not_void: dialog /= void
dialog_exists: dialog.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
peek_all
process_dialog_message (dialog: POINTER)
dialog
translate
translate_accelerator (window: WEL_WINDOW; accelerators: WEL_ACCELERATORS)
require
window_not_void: window /= void
window_exists: window.exists
accelerators_not_void: accelerators /= void
accelerators_exists: accelerators.exists
translate_mdi_accelarator (window: WEL_WINDOW)
require
window_not_void: window /= void
window_exists: window.exists
wait
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- WEL_MSG