INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "This structure identifies a tool for which text is to be ", "displayed and receives the text for the tool. This structure", "is used with the Ttn_needtext notification message. ", "WEL: library of reusable components for Eiffel. ", "Based on WEL library for ISE Eiffel, used with permission. "
project: "Windows Eiffel Library"
copyright: "(c) 1986-1997 Interactive Software Engineering Inc. ", "Modifications and extensions: ", "(c) 1997-2001 Object Tools ", "All rights reserved. Duplication and distribution prohibited", "May be used only with Visual Eiffel under terms of user ", "license "
cluster: wel
class WEL_TOOLTIP_TEXT
inherit

WEL_STRUCTURE
end

WEL_WORD_OPERATIONS
export
{NONE}
all
end

WAPI_ATOMS
end
creation

make,
make_by_nmhdr,
make_by_pointer
feature {NONE}-- Initialization

make_by_nmhdr (a_nmhdr: WEL_NMHDR)
-- Make the structure with `a_nmhdr'.
require
a_nmhdr_not_void: a_nmhdr /= void
feature -- Access

hdr: WEL_NMHDR
-- Information about the Wm_notify message.
ensure
result_not_void: Result /= void

text: STRING
-- Text of the tooltip
require
text_id_not_set: not text_id_set
ensure
result_not_void: Result /= void

text_id: INTEGER
-- String resource identifier for the text
require
text_id_set: text_id_set

instance: WEL_INSTANCE
-- Instance that contains a string resource to be
-- used as the text.

flags: INTEGER
-- Flag that indicates how to interpret `id_from'
-- member of `hdr'.
-- See class WEL_TTF_CONSTANTS for the different values.
feature -- Element change

set_text (a_text: STRING)
-- Set `text' with `a_text'.
require
text_not_void: text /= void
ensure
text_set: text.is_equal (a_text)

set_text_id (an_id: INTEGER)
-- Set `text' with a string resource identifier `an_id'.
ensure
text_id_set: text_id = an_id

set_instance (an_instance: WEL_INSTANCE)
-- Set `instance' with `an_instance'.
require
an_instance_not_void: an_instance /= void
ensure
instance_set: instance.item = an_instance.item

set_flags (a_flags: INTEGER)
-- Set `flags' with `a_flags'.
require
positive_flags: a_flags >= 0
ensure
flags_set: flags = a_flags
feature -- Status report

text_id_set: BOOLEAN
-- Is `text' equal to a resource string identifer?
feature -- Measurement

structure_size: INTEGER
-- Size to allocate (in bytes)
end -- class WEL_TOOLTIP_TEXT

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES