indexing
description: "The NONCLIENTMETRICS structure contains the scalable metricsassociated with the nonclient area of a nonminimized window.This structure is used by the SPI_GETNONCLIENTMETRICS and SPI_SETNONCLIENTMETRICS actions of SystemParametersInfo"
date: "$Date$"
revision: "$Revision$"
class interface
WEL_NON_CLIENT_METRICS
create
make
feature
border_width: INTEGER
ensure
positive_result: Result >= 0
caption_font: WEL_LOG_FONT
ensure
valid_result: Result /= void and then Result.exists
caption_height: INTEGER
ensure
positive_result: Result >= 0
caption_width: INTEGER
ensure
positive_result: Result >= 0
item: POINTER
WEL_ANY
menu_font: WEL_LOG_FONT
ensure
valid_result: Result /= void and then Result.exists
menu_height: INTEGER
ensure
positive_result: Result >= 0
menu_width: INTEGER
ensure
positive_result: Result >= 0
message_font: WEL_LOG_FONT
ensure
valid_result: Result /= void and then Result.exists
scroll_height: INTEGER
ensure
positive_result: Result >= 0
scroll_width: INTEGER
ensure
positive_result: Result >= 0
small_caption_font: WEL_LOG_FONT
ensure
valid_result: Result /= void and then Result.exists
small_caption_height: INTEGER
ensure
positive_result: Result >= 0
small_caption_width: INTEGER
ensure
positive_result: Result >= 0
status_font: WEL_LOG_FONT
ensure
valid_result: Result /= void and then Result.exists
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_item (an_item: POINTER)
iteman_item
WEL_ANY
ensure WEL_ANY
item_set: item = an_item
set_structure_size (a_size: INTEGER)
a_size
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_NON_CLIENT_METRICS