Automatic generation produced by ISE Eiffel
note description: "Information about message Wm_menuselect which is sent to a menu's owner window when the user highlights a menu item." legal: "See notice at end of class." status: "See notice at end of class." date: "$Date: 2008-12-29 11:27:11 -0900 (Mon, 29 Dec 2008) $" revision: "$Revision: 76420 $" class interface WEL_MENU_SELECT_MESSAGE create make (a_window: WEL_WINDOW; a_message: INTEGER_32; a_w_param, a_l_param: POINTER) -- Set `window`, `message`, `w_param`, `l_param` with -- a_window, a_message, a_w_param, a_l_param -- (from WEL_MESSAGE_INFORMATION) ensure -- from WEL_MESSAGE_INFORMATION window_set: window = a_window message_set: message = a_message w_param_set: w_param = a_w_param l_param_set: l_param = a_l_param feature -- Initialization make (a_window: WEL_WINDOW; a_message: INTEGER_32; a_w_param, a_l_param: POINTER) -- Set `window`, `message`, `w_param`, `l_param` with -- a_window, a_message, a_w_param, a_l_param -- (from WEL_MESSAGE_INFORMATION) ensure -- from WEL_MESSAGE_INFORMATION window_set: window = a_window message_set: message = a_message w_param_set: w_param = a_w_param l_param_set: l_param = a_l_param feature -- Access flags: INTEGER_32 -- Menu flags generating_type: TYPE [detachable WEL_MENU_SELECT_MESSAGE] -- Type of current object -- (type of which it is a direct instance) -- (from ANY) ensure -- from ANY generating_type_not_void: Result /= Void generator: STRING_8 -- Name of current object's generating class -- (base class of the type of which it is a direct instance) -- (from ANY) ensure -- from ANY generator_not_void: Result /= Void generator_not_empty: not Result.is_empty h_menu: POINTER -- Handle of menu clicked item: INTEGER_32 -- Menu item l_param: POINTER -- Additional information about `message`. The exact -- meaning depends on the value of `message`. -- (from WEL_MESSAGE_INFORMATION) menu: WEL_MENU -- Menu clicked require menu_exists: menu_exists message: INTEGER_32 -- Message number. See class WEL_WM_CONSTANTS for -- different values. -- (from WEL_MESSAGE_INFORMATION) Mf_append: INTEGER_32 = 256 -- (from WEL_MF_CONSTANTS) Mf_bitmap: INTEGER_32 = 4 -- (from WEL_MF_CONSTANTS) Mf_bycommand: INTEGER_32 = 0 -- (from WEL_MF_CONSTANTS) Mf_byposition: INTEGER_32 = 1024 -- (from WEL_MF_CONSTANTS) Mf_change: INTEGER_32 = 128 -- (from WEL_MF_CONSTANTS) Mf_checked: INTEGER_32 = 8 -- (from WEL_MF_CONSTANTS) Mf_delete: INTEGER_32 = 512 -- (from WEL_MF_CONSTANTS) Mf_disabled: INTEGER_32 = 2 -- (from WEL_MF_CONSTANTS) Mf_enabled: INTEGER_32 = 0 -- (from WEL_MF_CONSTANTS) Mf_end: INTEGER_32 = 128 -- (from WEL_MF_CONSTANTS) Mf_grayed: INTEGER_32 = 1 -- (from WEL_MF_CONSTANTS) Mf_help: INTEGER_32 = 16384 -- (from WEL_MF_CONSTANTS) Mf_hilite: INTEGER_32 = 128 -- (from WEL_MF_CONSTANTS) Mf_insert: INTEGER_32 = 0 -- (from WEL_MF_CONSTANTS) Mf_menubarbreak: INTEGER_32 = 32 -- (from WEL_MF_CONSTANTS) Mf_menubreak: INTEGER_32 = 64 -- (from WEL_MF_CONSTANTS) Mf_mouseselect: INTEGER_32 = 32768 -- (from WEL_MF_CONSTANTS) Mf_ownerdraw: INTEGER_32 = 256 -- (from WEL_MF_CONSTANTS) Mf_popup: INTEGER_32 = 16 -- (from WEL_MF_CONSTANTS) Mf_remove: INTEGER_32 = 4096 -- (from WEL_MF_CONSTANTS) Mf_separator: INTEGER_32 = 2048 -- (from WEL_MF_CONSTANTS) Mf_string: INTEGER_32 = 0 -- (from WEL_MF_CONSTANTS) Mf_sysmenu: INTEGER_32 = 8192 -- (from WEL_MF_CONSTANTS) Mf_unchecked: INTEGER_32 = 0 -- (from WEL_MF_CONSTANTS) Mf_unhilite: INTEGER_32 = 0 -- (from WEL_MF_CONSTANTS) Mf_usecheckbitmaps: INTEGER_32 = 512 -- (from WEL_MF_CONSTANTS) w_param: POINTER -- Additional information about `message`. The exact -- meaning depends on the value of `message`. -- (from WEL_MESSAGE_INFORMATION) window: WEL_WINDOW -- Window which receives `message` -- (from WEL_MESSAGE_INFORMATION) feature -- Comparison frozen deep_equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void -- or attached to isomorphic object structures? -- (from ANY) ensure -- from ANY instance_free: class shallow_implies_deep: standard_equal (a, b) implies Result both_or_none_void: (a = Void) implies (Result = (b = Void)) same_type: (Result and (a /= Void)) implies (b /= Void and then a.same_type (b)) symmetric: Result implies deep_equal (b, a) frozen equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void or attached -- to objects considered equal? -- (from ANY) ensure -- from ANY instance_free: class definition: Result = (a = Void and b = Void) or else ((a /= Void and b /= Void) and then a.is_equal (b)) frozen is_deep_equal alias "≡≡≡" (other: WEL_MENU_SELECT_MESSAGE): BOOLEAN -- Are Current and other attached to isomorphic object structures? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY shallow_implies_deep: standard_is_equal (other) implies Result same_type: Result implies same_type (other) symmetric: Result implies other.is_deep_equal (Current) is_equal (other: WEL_MENU_SELECT_MESSAGE): BOOLEAN -- Is other attached to an object considered -- equal to current object? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY symmetric: Result implies other ~ Current consistent: standard_is_equal (other) implies Result frozen standard_equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void or attached to -- field-by-field identical objects of the same type? -- Always uses default object comparison criterion. -- (from ANY) ensure -- from ANY instance_free: class definition: Result = (a = Void and b = Void) or else ((a /= Void and b /= Void) and then a.standard_is_equal (b)) frozen standard_is_equal alias "≜" (other: WEL_MENU_SELECT_MESSAGE): BOOLEAN -- Is other attached to an object of the same type -- as current object, and field-by-field identical to it? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY same_type: Result implies same_type (other) symmetric: Result implies other.standard_is_equal (Current) feature -- Status report checked: BOOLEAN -- Is the item checked? conforms_to (other: ANY): BOOLEAN -- Does type of current object conform to type -- of other (as per Eiffel: The Language, chapter 13)? -- (from ANY) require -- from ANY other_not_void: other /= Void disabled: BOOLEAN -- Is the item disabled? flag_set (flags, mask: INTEGER_32): BOOLEAN -- Is mask set in `flags`? -- (from WEL_BIT_OPERATIONS) grayed: BOOLEAN -- Is the item grayed? highlighted: BOOLEAN -- Is the item highlighted? is_bitmap: BOOLEAN -- Is the item a bitmap? is_popup: BOOLEAN -- Is the item a popup menu? is_system_menu: BOOLEAN -- Is the item contained in the system menu? menu_exists: BOOLEAN -- Does the menu exist? mouse_selected: BOOLEAN -- Is the item selected with the mouse? owner_drawn: BOOLEAN -- Is the item owner-drawn? same_type (other: ANY): BOOLEAN -- Is type of current object identical to type of other? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY definition: Result = (conforms_to (other) and other.conforms_to (Current)) feature -- Duplication copy (other: WEL_MENU_SELECT_MESSAGE) -- Update current object using fields of object attached -- to other, so as to yield equal objects. -- (from ANY) require -- from ANY other_not_void: other /= Void type_identity: same_type (other) ensure -- from ANY is_equal: Current ~ other frozen deep_copy (other: WEL_MENU_SELECT_MESSAGE) -- Effect equivalent to that of: -- `copy` (other . `deep_twin`) -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY deep_equal: deep_equal (Current, other) frozen deep_twin: WEL_MENU_SELECT_MESSAGE -- New object structure recursively duplicated from Current. -- (from ANY) ensure -- from ANY deep_twin_not_void: Result /= Void deep_equal: deep_equal (Current, Result) frozen standard_copy (other: WEL_MENU_SELECT_MESSAGE) -- Copy every field of other onto corresponding field -- of current object. -- (from ANY) require -- from ANY other_not_void: other /= Void type_identity: same_type (other) ensure -- from ANY is_standard_equal: standard_is_equal (other) frozen standard_twin: WEL_MENU_SELECT_MESSAGE -- New object field-by-field identical to other. -- Always uses default copying semantics. -- (from ANY) ensure -- from ANY standard_twin_not_void: Result /= Void equal: standard_equal (Result, Current) frozen twin: WEL_MENU_SELECT_MESSAGE -- New object equal to Current -- `twin` calls `copy`; to change copying/twinning semantics, redefine `copy`. -- (from ANY) ensure -- from ANY twin_not_void: Result /= Void is_equal: Result ~ Current feature -- Basic operations clear_flag (flags, mask: INTEGER_32): INTEGER_32 -- Clear the mask in `flags` -- (from WEL_BIT_OPERATIONS) ensure -- from WEL_BIT_OPERATIONS flag_unset: not flag_set (Result, mask) cwin_hi_word (value: POINTER): INTEGER_32 -- SDK HIWORD -- (from WEL_WORD_OPERATIONS) cwin_lo_word (value: POINTER): INTEGER_32 -- SDK LOWORD -- (from WEL_WORD_OPERATIONS) cwin_make_long (low, high: INTEGER_32): POINTER -- SDK MAKELONG -- (from WEL_WORD_OPERATIONS) cwin_make_lparam (low, high: INTEGER_32): POINTER -- SKD MAKELPARAM -- (from WEL_WORD_OPERATIONS) frozen default: detachable WEL_MENU_SELECT_MESSAGE -- Default value of object's type -- (from ANY) frozen default_pointer: POINTER -- Default value of type POINTER -- (Avoid the need to write p.`default` for -- some p of type POINTER.) -- (from ANY) ensure -- from ANY instance_free: class default_rescue -- Process exception for routines with no Rescue clause. -- (Default: do nothing.) -- (from ANY) frozen do_nothing -- Execute a null action. -- (from ANY) ensure -- from ANY instance_free: class set_flag (flags, mask: INTEGER_32): INTEGER_32 -- Set the mask in `flags` -- (from WEL_BIT_OPERATIONS) ensure -- from WEL_BIT_OPERATIONS flag_set: flag_set (Result, mask) feature -- Conversion from Eiffel to Windows frozen to_lparam (i: INTEGER_32): POINTER -- Convert integer value i in a valid LPARAM value. -- (from WEL_DATA_TYPE) ensure -- from WEL_DATA_TYPE is_class: class frozen to_lresult (i: INTEGER_32): POINTER -- Convert integer value i in a valid LRESULT value. -- (from WEL_DATA_TYPE) ensure -- from WEL_DATA_TYPE is_class: class frozen to_wparam (i: INTEGER_32): POINTER -- Convert integer value i in a valid WPARAM value. -- (from WEL_DATA_TYPE) ensure -- from WEL_DATA_TYPE is_class: class feature -- Output Io: STD_FILES -- Handle to standard file setup -- (from ANY) ensure -- from ANY instance_free: class io_not_void: Result /= Void out: STRING_8 -- New string containing terse printable representation -- of current object -- (from ANY) ensure -- from ANY out_not_void: Result /= Void print (o: detachable ANY) -- Write terse external representation of o -- on standard output. -- (from ANY) ensure -- from ANY instance_free: class frozen tagged_out: STRING_8 -- New string containing terse printable representation -- of current object -- (from ANY) ensure -- from ANY tagged_out_not_void: Result /= Void feature -- Platform Operating_environment: OPERATING_ENVIRONMENT -- Objects available from the operating system -- (from ANY) ensure -- from ANY instance_free: class operating_environment_not_void: Result /= Void invariant -- from ANY reflexive_equality: standard_is_equal (Current) reflexive_conformance: conforms_to (Current) note copyright: "Copyright (c) 1984-2006, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 356 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class WEL_MENU_SELECT_MESSAGE -- Generated by Eiffel Studio --
For more details: eiffel.org