indexing description: "Eiffel Vision range. Mswindows implementation." status: "See notice at end of class" date: "$Date$" revision: "$Revision$" deferred class EV_RANGE_IMP inherit EV_RANGE_I redefine interface end EV_GAUGE_IMP redefine interface end WEL_TRACK_BAR rename parent as wel_parent, set_parent as wel_set_parent, destroy as wel_destroy, shown as is_displayed, position as value, set_position as wel_set_value, line as step, page as leap, set_line as wel_set_step, set_page as wel_set_leap, width as wel_width, height as wel_height, enabled as is_sensitive, item as wel_item, set_range as wel_set_range, move as wel_move, resize as wel_resize, move_and_resize as wel_move_and_resize, x as x_position, y as y_position, has_capture as wel_has_capture undefine set_width, set_height, on_left_button_down, on_middle_button_down, on_right_button_down, on_left_button_up, on_middle_button_up, on_right_button_up, on_left_button_double_click, on_middle_button_double_click, on_right_button_double_click, on_mouse_move, on_mouse_wheel, on_set_focus, on_desactivate, on_kill_focus, on_key_down, on_key_up, on_char, on_set_cursor, show, hide, on_size, x_position, y_position, on_sys_key_down, on_sys_key_up, default_process_message redefine default_style end feature {NONE} -- Implementation default_style: INTEGER is -- Default style used to create the control. do Result := Ws_visible + Ws_child + Ws_group + Ws_tabstop + Tbs_tooltips + Ws_clipchildren + Ws_clipsiblings end next_dlgtabitem (hdlg, hctl: POINTER; previous: BOOLEAN): POINTER is -- Encapsulation of the SDK GetNextDlgTabItem, -- because we cannot do a deferred feature become an -- external feature. do Result := cwin_get_next_dlgtabitem (hdlg, hctl, previous) end next_dlggroupitem (hdlg, hctl: POINTER; previous: BOOLEAN): POINTER is -- Encapsulation of the SDK GetNextDlgGroupItem, -- because we cannot do a deferred feature become an -- external feature. do check Never_called: False end end mouse_message_x (lparam: INTEGER): INTEGER is -- Encapsulation of the c_mouse_message_x function of -- WEL_WINDOW. Normaly, we should be able to have directly -- c_mouse_message_x deferred but it does not wotk because -- it would be implemented by an external. do Result := c_mouse_message_x (lparam) end mouse_message_y (lparam: INTEGER): INTEGER is -- Encapsulation of the c_mouse_message_x function of -- WEL_WINDOW. Normaly, we should be able to have directly -- c_mouse_message_x deferred but it does not wotk because -- it would be implemented by an external. do Result := c_mouse_message_y (lparam) end show_window (hwnd: POINTER; cmd_show: INTEGER) is -- Encapsulation of the cwin_show_window function of -- WEL_WINDOW. Normaly, we should be able to have directly -- c_mouse_message_x deferred but it does not wotk because -- it would be implemented by an external. do cwin_show_window (hwnd, cmd_show) end feature {EV_ANY_I, EV_INTERNAL_SILLY_WINDOW_IMP} -- Interface interface: EV_RANGE end -- class EV_RANGE_IMP --|---------------------------------------------------------------- --| EiffelVision2: library of reusable components for ISE Eiffel. --| Copyright (C) 1986-2001 Interactive Software Engineering Inc. --| All rights reserved. Duplication and distribution prohibited. --| May be used only with ISE Eiffel, under terms of user license. --| Contact ISE for any other use. --| --| Interactive Software Engineering Inc. --| ISE Building --| 360 Storke Road, Goleta, CA 93117 USA --| Telephone 805-685-1006, Fax 805-685-6869 --| Electronic mail --| Customer support: http://support.eiffel.com> --| For latest info see award-winning pages: http://www.eiffel.com --|----------------------------------------------------------------