    class
    	WEL_TOOL_BAR

    General
    	cluster: wel
    	description:
    		"Control window that contains one or more buttons. Each
    		buttons sends a command message to the parent window when the
    		user chooses it.

    		Note: The common controls dll (WEL_COMMON_CONTROLS_DLL) needs to
    		be loaded to use this control."
    	create: make

    Ancestors
    	WEL_CONTROL*
    	WEL_MAIN_ARGUMENTS
    	WEL_TBN_CONSTANTS
    	WEL_TB_CONSTANTS
    	WEL_TB_STYLE_CONSTANTS

    Queries
    	absolute_x: INTEGER_32
    	absolute_y: INTEGER_32
    	background_brush: WEL_BRUSH
    	button_checked (command_id: INTEGER_32): BOOLEAN
    	button_count: INTEGER_32
    	button_enabled (command_id: INTEGER_32): BOOLEAN
    	button_hidden (command_id: INTEGER_32): BOOLEAN
    	button_indeterminate (command_id: INTEGER_32): BOOLEAN
    	button_pressed (command_id: INTEGER_32): BOOLEAN
    	button_rect (index: INTEGER_32): WEL_RECT
    	captured_window: WEL_WINDOW
    	client_rect: WEL_RECT
    	command (message: INTEGER_32): WEL_COMMAND
    	command_argument (message: INTEGER_32): ANY
    	command_exists (message: INTEGER_32): BOOLEAN
    	commands: WEL_COMMAND_MANAGER
    	commands_enabled: BOOLEAN
    	default_processing: BOOLEAN
    	enabled: BOOLEAN
    	ex_style: INTEGER_32
    	exists: BOOLEAN
    	focused_window: WEL_WINDOW
    	font: WEL_FONT
    	has_bitmap: BOOLEAN
    	has_capture: BOOLEAN
    	has_focus: BOOLEAN
    	has_heavy_capture: BOOLEAN
    	has_horizontal_scroll_bar: BOOLEAN
    	has_return_value: BOOLEAN
    	has_system_font: BOOLEAN
    	has_system_window_locked: BOOLEAN
    	has_vertical_scroll_bar: BOOLEAN
    	heavy_capture_activated: BOOLEAN
    	height: INTEGER_32
    	i_th_button (index: INTEGER_32): WEL_TOOL_BAR_BUTTON
    	id: INTEGER_32
    	is_inside: BOOLEAN
    	is_registered: BOOLEAN
    	item: POINTER
    	last_bitmap_index: INTEGER_32
    	last_string_index: INTEGER_32
    	maximal_height: INTEGER_32
    	maximal_width: INTEGER_32
    	maximized: BOOLEAN
    	message_return_value: POINTER
    	minimal_height: INTEGER_32
    	minimal_width: INTEGER_32
    	minimized: BOOLEAN
    	parent: WEL_WINDOW
    	placement: WEL_WINDOW_PLACEMENT
    	shared: BOOLEAN
    	shown: BOOLEAN
    	style: INTEGER_32
    	tooltip: WEL_TOOLTIP
    	tooltip_exists: BOOLEAN
    	valid_hwnd_constant (c: POINTER): BOOLEAN
    	width: INTEGER_32
    	window_captured: BOOLEAN
    	window_rect: WEL_RECT
    	x: INTEGER_32
    	y: INTEGER_32

    Commands
    	add_bitmaps (tb_bitmap: WEL_TOOL_BAR_BITMAP; bitmap_count: INTEGER_32)
    	add_buttons (buttons: ARRAY [WEL_TOOL_BAR_BUTTON])
    	add_strings (strings: ARRAY [STRING_GENERAL])
    	auto_size
    	bring_to_top
    	check_button (command_id: INTEGER_32)
    	clear_indeterminate_state (command_id: INTEGER_32)
    	default_process_notification (notification_code: INTEGER_32)
    	delete_button (index: INTEGER_32)
    	destroy
    	disable
    	disable_button (command_id: INTEGER_32)
    	disable_commands
    	disable_default_processing
    	disable_drag_accept_files
    	disable_horizontal_scroll_bar
    	disable_hot_item
    	disable_redraw
    	disable_vertical_scroll_bar
    	enable
    	enable_button (command_id: INTEGER_32)
    	enable_commands
    	enable_default_processing
    	enable_drag_accept_files
    	enable_horizontal_scroll_bar
    	enable_hot_item (command_id: INTEGER_32)
    	enable_redraw
    	enable_vertical_scroll_bar
    	go_to_next_group_item (a_parent: WEL_COMPOSITE_WINDOW; after: BOOLEAN)
    	go_to_next_tab_item (a_parent: WEL_COMPOSITE_WINDOW; after: BOOLEAN)
    	hide
    	hide_button (command_id: INTEGER_32)
    	hide_horizontal_scroll_bar
    	hide_scroll_bars
    	hide_vertical_scroll_bar
    	insert_after (a_window: WEL_WINDOW)
    	insert_button (index: INTEGER_32; button: WEL_TOOL_BAR_BUTTON)
    	invalidate
    	invalidate_rect (rect: WEL_RECT; erase_background: BOOLEAN)
    	invalidate_region (region: WEL_REGION; erase_background: BOOLEAN)
    	invalidate_without_background
    	kill_timer (timer_id: INTEGER_32)
    	lock_window_update
    	maximize
    	minimize
    	move (a_x, a_y: INTEGER_32)
    	move_and_resize (a_x, a_y, a_width, a_height: INTEGER_32; repaint: BOOLEAN)
    	on_tbn_beginadjust
    	on_tbn_begindrag (info: WEL_NM_TOOL_BAR)
    	on_tbn_custhelp
    	on_tbn_dropdown (info: WEL_NM_TOOL_BAR)
    	on_tbn_endadjust
    	on_tbn_enddrag (info: WEL_NM_TOOL_BAR)
    	on_tbn_getbuttoninfo (info: WEL_NM_TOOL_BAR)
    	on_tbn_querydelete (info: WEL_NM_TOOL_BAR)
    	on_tbn_queryinsert (info: WEL_NM_TOOL_BAR)
    	on_tbn_reset
    	on_tbn_toolbarchange
    	press_button (command_id: INTEGER_32)
    	put_command (a_command: WEL_COMMAND; message: INTEGER_32; argument: ANY)
    	register_current_window
    	release_button (command_id: INTEGER_32)
    	release_capture
    	release_heavy_capture
    	remove_command (message: INTEGER_32)
    	reposition
    	resize (a_width, a_height: INTEGER_32)
    	restore
    	scroll (a_x, a_y: INTEGER_32)
    	set_bitmap_size (a_width, a_height: INTEGER_32)
    	set_button_size (a_width, a_height: INTEGER_32)
    	set_capture
    	set_class_icon (new_icon: WEL_ICON)
    	set_class_small_icon (new_icon: WEL_ICON)
    	set_default_processing (value: BOOLEAN)
    	set_ex_style (an_ex_style: INTEGER_32)
    	set_focus
    	set_font (a_font: WEL_FONT)
    	set_heavy_capture
    	set_height (a_height: INTEGER_32)
    	set_identifier (index, an_id: INTEGER_32)
    	set_indeterminate_state (command_id: INTEGER_32)
    	set_item (an_item: POINTER)
    	set_message_return_value (value: POINTER)
    	set_parent (a_parent: WEL_WINDOW)
    	set_placement (a_placement: WEL_WINDOW_PLACEMENT)
    	set_rows (a_row_count: INTEGER_32)
    	set_shared
    	set_style (a_style: INTEGER_32)
    	set_timer (timer_id, time_out: INTEGER_32)
    	set_tooltip (a_tooltip: WEL_TOOLTIP)
    	set_unshared
    	set_width (a_width: INTEGER_32)
    	set_x (a_x: INTEGER_32)
    	set_y (a_y: INTEGER_32)
    	set_z_order (z_order: POINTER)
    	show
    	show_button (command_id: INTEGER_32)
    	show_horizontal_scroll_bar
    	show_scroll_bars
    	show_vertical_scroll_bar
    	show_with_option (cmd_show: INTEGER_32)
    	uncheck_button (command_id: INTEGER_32)
    	unlock_window_update
    	update
    	update_cached_style (new_ex_style, old_ex_style: INTEGER_32)
    	validate
    	validate_rect (rect: WEL_RECT)
    	validate_region (region: WEL_REGION)
    	win_help (help_file: STRING_GENERAL; a_command, data: INTEGER_32)