indexing
	description: "Toolbar message (TB_...) constants."
	legal: "See notice at end of class."
	status: "See notice at end of class."
	date: "$Date: 2006-03-22 23:29:03 -0800 (Wed, 22 Mar 2006) $"
	revision: "$Revision: 57641 $"

class interface
	WEL_TB_CONSTANTS

create 
	default_create
			-- Process instances of classes with no creation clause.
			-- (Default: do nothing.)
			-- (from ANY)

feature -- Access

	generating_type: STRING_8
			-- Name of current object's generating type
			-- (type of which it is a direct instance)
			-- (from ANY)

	generator: STRING_8
			-- Name of current object's generating class
			-- (base class of the type of which it is a direct instance)
			-- (from ANY)

	tb_addbitmap: INTEGER_32 is 1043
			-- Adds one or more images to the list of button images available
			-- for a toolbar.

	tb_addbuttons: INTEGER_32 is 1044
			-- Adds one or more buttons to a toolbar.

	tb_addstring: INTEGER_32 is 1101
			-- Adds a new string to the toolbar's string pool.
			-- (ANSI Version)

	tb_autosize: INTEGER_32 is 1057
			-- Causes a toolbar to be resized.

	tb_buttoncount: INTEGER_32 is 1048
			-- Retrieves a count of the buttons currently in the toolbar.

	tb_buttonstructsize: INTEGER_32 is 1054
			-- Specifies the size of the TBBUTTON structure.

	tb_changebitmap: INTEGER_32 is 1067
			-- Changes the bitmap for a button in a toolbar.

	tb_checkbutton: INTEGER_32 is 1026
			-- Checks or unchecks a given button in a toolbar.

	tb_commandtoindex: INTEGER_32 is 1049
			-- Retrieves the zero-based index for the button associated with the
			-- specified command identifier.

	tb_customize: INTEGER_32 is 1051
			-- Displays the Customize Toolbar dialog box.

	tb_deletebutton: INTEGER_32 is 1046
			-- Deletes a button from the toolbar.

	tb_enablebutton: INTEGER_32 is 1025
			-- Enables or disables the specified button in a toolbar.

	tb_getbitmap: INTEGER_32 is 1068
			-- Retrieves the index of the bitmap associated with a button
			-- in a toolbar.

	tb_getbitmapflags: INTEGER_32 is 1065
			-- Retrieves the flags that describe the type of bitmap to be used.

	tb_getbutton: INTEGER_32 is 1047
			-- Retrieves information about the specified button in a toolbar.

	tb_getbuttontext: INTEGER_32 is 1099
			-- Retrieves the display text of a button on a toolbar.

	tb_getitemrect: INTEGER_32 is 1053
			-- Retrieves the bounding rectangle of a button in a toolbar.

	tb_getrows: INTEGER_32 is 1064
			-- Retrieves the number of rows of buttons in a toolbar with the
			-- TBSTYLE_WRAPABLE style.

	tb_getstate: INTEGER_32 is 1042
			-- Retrieves information about the state of the specified button
			-- in a toolbar, such as whether it is enabled, pressed, or checked.

	tb_gettooltips: INTEGER_32 is 1059
			-- Retrieves the handle to the tooltip control, if any, associated
			-- with the toolbar.

	tb_hidebutton: INTEGER_32 is 1028
			-- Hides or shows the specified button in a toolbar.

	tb_hittest: INTEGER_32 is 1093
			-- Determines where a point lies in a toolbar control.

	tb_indeterminate: INTEGER_32 is 1029
			-- Sets or clears the indeterminate state of the specified button
			-- in a toolbar.

	tb_insertbutton: INTEGER_32 is 1045
			-- Inserts a button in a toolbar.

	tb_isbuttonchecked: INTEGER_32 is 1034
			-- Determines whether the specified button in a toolbar is checked.

	tb_isbuttonenabled: INTEGER_32 is 1033
			-- Determines whether the specified button in a toolbar is enabled.

	tb_isbuttonhidden: INTEGER_32 is 1036
			-- Determines whether the specified button in a toolbar is hidden.

	tb_isbuttonindeterminate: INTEGER_32 is 1037
			-- Determines whether the specified button in a toolbar is indeterminate.

	tb_isbuttonpressed: INTEGER_32 is 1035
			-- Determines whether the specified button in a toolbar is pressed.

	tb_pressbutton: INTEGER_32 is 1027
			-- Presses or releases the specified button in a toolbar.

	tb_saverestore: INTEGER_32 is 1100
			-- Send this message to initiate saving or restoring a toolbar state.

	tb_setbitmapsize: INTEGER_32 is 1056
			-- Sets the size of the bitmapped images to be added to a toolbar.

	tb_setbuttonsize: INTEGER_32 is 1055
			-- Sets the size of the buttons to be added to a toolbar.

	tb_setcmdid: INTEGER_32 is 1066
			-- Sets the command identifier of a toolbar button.

	tb_setdrawtextflags: INTEGER_32 is 1094
			-- Sets the text drawing flags for the toolbar.

	tb_setparent: INTEGER_32 is 1061
			-- Sets the window to which the toolbar control sends notification messages.

	tb_setrows: INTEGER_32 is 1063
			-- Sets the number of rows of buttons in a toolbar.

	tb_setstate: INTEGER_32 is 1041
			-- Sets the state for the specified button in a toolbar.

	tb_settooltips: INTEGER_32 is 1060
			-- Associates a tooltip control with a toolbar.
	
feature -- Comparison

	frozen deep_equal (some: ANY; other: like arg #1): BOOLEAN
			-- Are `some' and `other' either both void
			-- or attached to isomorphic object structures?
			-- (from ANY)
		ensure -- from ANY
			shallow_implies_deep: standard_equal (some, other) implies Result
			both_or_none_void: (some = Void) implies (Result = (other = Void))
			same_type: (Result and (some /= Void)) implies some.same_type (other)
			symmetric: Result implies deep_equal (other, some)

	frozen equal (some: ANY; other: like arg #1): BOOLEAN
			-- Are `some' and `other' either both void or attached
			-- to objects considered equal?
			-- (from ANY)
		ensure -- from ANY
			definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.is_equal (other))

	is_equal (other: like Current): 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.is_equal (Current)
			consistent: standard_is_equal (other) implies Result

	frozen standard_equal (some: ANY; other: like arg #1): BOOLEAN
			-- Are `some' and `other' 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
			definition: Result = (some = Void and other = Void) or else ((some /= Void and other /= Void) and then some.standard_is_equal (other))

	frozen standard_is_equal (other: like Current): 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

	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

	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: like Current)
			-- 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: is_equal (other)

	frozen deep_copy (other: like Current)
			-- 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: like Current
			-- New object structure recursively duplicated from Current.
			-- (from ANY)
		ensure -- from ANY
			deep_equal: deep_equal (Current, Result)

	frozen standard_copy (other: like Current)
			-- 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: like Current
			-- 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: like Current
			-- New object equal to `Current'
			-- twin calls copy; to change copying/twining semantics, redefine copy.
			-- (from ANY)
		ensure -- from ANY
			twin_not_void: Result /= Void
			is_equal: Result.is_equal (Current)
	
feature -- Basic operations

	frozen default: like Current
			-- 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)

	default_rescue
			-- Process exception for routines with no Rescue clause.
			-- (Default: do nothing.)
			-- (from ANY)

	frozen do_nothing
			-- Execute a null action.
			-- (from ANY)
	
feature -- Access Comctl32.dll >= 4.70 (Windows95 + IE4 and above)

	tb_getbuttonsize: INTEGER_32 is 1082
			-- Retrieves the current width and height of toolbar buttons, in
			-- pixels.

	tb_getdisabledimagelist: INTEGER_32 is 1079
			-- Retrieves the image list that a toolbar control uses to display
			-- disabled buttons.

	tb_gethotimagelist: INTEGER_32 is 1077
			-- Retrieves the image list that a toolbar control uses to display
			-- hot buttons.

	tb_getimagelist: INTEGER_32 is 1073
			-- Retrieves the image list that a toolbar control uses to display
			-- buttons in their default state. A toolbar control uses this
			-- image list to display buttons when they are not hot or disabled

	tb_getrect: INTEGER_32 is 1075
			-- Retrieves the bounding rectangle for a specified toolbar button

	tb_getstyle: INTEGER_32 is 1081
			-- Retrieves the styles currently in use for a toolbar control.

	tb_gettextrows: INTEGER_32 is 1085
			-- Retrieves the maximum number of text rows that can be
			-- displayed on a toolbar button.

	tb_loadimages: INTEGER_32 is 1074
			-- Loads bitmaps into a toolbar control's image list.

	tb_setbuttonwidth: INTEGER_32 is 1083
			-- Sets the minimum and maximum button widths in the toolbar
			-- control.

	tb_setdisabledimagelist: INTEGER_32 is 1078
			-- Sets the image list that the toolbar control will use to display
			-- disabled buttons.

	tb_sethotimagelist: INTEGER_32 is 1076
			-- Sets the image list that the toolbar control will use to
			-- display hot buttons.

	tb_setimagelist: INTEGER_32 is 1072
			-- Set the image list that the toolbar will use
			-- to display buttons that are in their default state.

	tb_setindent: INTEGER_32 is 1071
			-- Sets the indentation for the first button in a toolbar control

	tb_setmaxtextrows: INTEGER_32 is 1084
			-- Sets the maximum number of text rows displayed on a toolbar
			-- button.

	tb_setstyle: INTEGER_32 is 1080
			-- Sets the style for a toolbar control.
	
feature -- Access Comctl32.dll >= 4.71 (Windows95 + IE4 and above)

	tb_getanchorhighlight: INTEGER_32 is 1098
			-- Retrieves the anchor highlight setting for a toolbar.

	tb_getextendedstyle: INTEGER_32 is 1109
			-- Retrieves the extended styles for a toolbar control.

	tb_gethotitem: INTEGER_32 is 1095
			-- Retrieves the index of the hot item in a toolbar.

	tb_getinsertmark: INTEGER_32 is 1103
			-- Retrieves the current insertion mark for the toolbar.

	tb_getinsertmarkcolor: INTEGER_32 is 1113
			-- Retrieves the color used to draw the insertion mark for the toolbar.

	tb_getmaxsize: INTEGER_32 is 1107
			-- Retrieves the total size of all of the visible buttons and separators in the toolbar.

	tb_getobject: INTEGER_32 is 1086
			-- Retrieves the IDropTarget for a toolbar control.

	tb_getpadding: INTEGER_32 is 1110
			-- Retrieves the padding for a toolbar control.

	tb_insertmarkhittest: INTEGER_32 is 1105
			-- Retrieves the insertion mark information for a point in a toolbar.

	tb_movebutton: INTEGER_32 is 1106
			-- Moves a button from one index to another.

	tb_setanchorhighlight: INTEGER_32 is 1097
			-- Sets the anchor highlight setting for a toolbar.

	tb_setextendedstyle: INTEGER_32 is 1108
			-- Sets the extended styles for a toolbar control.

	tb_sethotitem: INTEGER_32 is 1096
			-- Sets the hot item in a toolbar.
			-- This message is ignored for toolbar controls that do not have the
			-- TBSTYLE_FLAT style.

	tb_setinsertmark: INTEGER_32 is 1104
			-- Sets the current insertion mark for the toolbar.

	tb_setinsertmarkcolor: INTEGER_32 is 1112
			-- Sets the color used to draw the insertion mark for the toolbar.

	tb_setpadding: INTEGER_32 is 1111
			-- Sets the padding for a toolbar control.
	
feature -- Output

	io: STD_FILES
			-- Handle to standard file setup
			-- (from ANY)

	out: STRING_8
			-- New string containing terse printable representation
			-- of current object
			-- Was declared in ANY as synonym of tagged_out.
			-- (from ANY)

	print (some: ANY)
			-- Write terse external representation of `some'
			-- on standard output.
			-- (from ANY)

	frozen tagged_out: STRING_8
			-- New string containing terse printable representation
			-- of current object
			-- Was declared in ANY as synonym of out.
			-- (from ANY)
	
feature -- Platform

	operating_environment: OPERATING_ENVIRONMENT
			-- Objects available from the operating system
			-- (from ANY)
	
invariant
		-- from ANY
	reflexive_equality: standard_is_equal (Current)
	reflexive_conformance: conforms_to (Current)

indexing
	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_TB_CONSTANTS