note legal: "See notice at end of class." status: "See notice at end of class." class SHOW_MOUSE_BUTTON_INFORMATION inherit WEL_COMMAND feature execute (argument: ANY) -- Add information about Wm_lbuttondown message in the -- list box. local s: STRING do if attached {WEL_MOUSE_MESSAGE} message_information as mi and then attached {WEL_SINGLE_SELECTION_LIST_BOX} argument as lb then s := "WM_LBUTTONDOWN: x=" s.append (mi.x.out) s.append (" y=") s.append (mi.y.out) s.append (" CTRL down=") s.append (mi.control_down.out) s.append (" SHIFT down=") s.append (mi.shift_down.out) lb.add_string (s) lb.select_item (lb.count - 1) end end 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 SHOW_MOUSE_BUTTON_INFORMATION