{ ============================================================================
  Copyright 1995 by Potomac Software, Inc. Use of this material is subject to
  the terms and conditions of the software license agreement.
  ============================================================================ }

unit ApiDlgConstants;

interface

{ Numeric IDs for each browser API; order must match strings in listbox }
const
	WLAPI_GetWindowInfo = 0;
	WLAPI_ListWindows = 1;
	WLAPI_ActivateWindow = 2;
	WLAPI_CloseWindow = 3;
	WLAPI_SetWindowPos = 4;
	WLAPI_ShowWindow = 5;
	WLAPI_ShowFile = 6;
	WLAPI_OpenURL = 7;
	WLAPI_SaveURL = 8;
	WLAPI_PostFormData = 9;
	WLAPI_SaveFormData = 10;
	WLAPI_RegisterProtocol = 11;
	WLAPI_UnregisterProtocol = 12;
	WLAPI_RegisterURLEcho = 13;
	WLAPI_UnregisterURLEcho = 14;
	WLAPI_RegisterViewer = 15;
	WLAPI_UnregisterViewer = 16;
	WLAPI_RegisterWindowChange = 17;
	WLAPI_UnregisterWindowChange = 18;
	WLAPI_ParseAnchor = 19;
	WLAPI_GetVersion = 20;
	WLAPI_QueryURLFile = 21;
	WLAPI_SetNotifyMethod = 22;

{ Numeric IDs for toolbar APIs; order must match strings in listbox }
const
	WLAPI_IsToolbarActive = 0;
	WLAPI_SetActiveToolbar = 1;
	WLAPI_AddToolbarButton = 2;
	WLAPI_RemoveToolbarButton = 3;
	WLAPI_IsToolbarButtonVisible = 4;
	WLAPI_ShowToolbarButton = 5;
	WLAPI_EnableToolbarButton = 6;
	WLAPI_IsToolbarButtonEnabled = 7;
	WLAPI_GetToolbarText = 8;
	WLAPI_SetToolbarText = 9;
	WLAPI_GetToolbarFont = 10;
	WLAPI_SetToolbarFont = 11;
	WLAPI_GetToolbarBkgnd = 12;
	WLAPI_SetToolbarBkgnd = 13;
	WLAPI_GetToolbarTextColor = 14;
	WLAPI_SetToolbarTextColor = 15;
	WLAPI_ToolbarCount = 16;

{ Numeric IDs for HTML parsing APIs; order must match strings in listbox }
const
	WLAPI_HtmlEnumParseTree = 0;
	WLAPI_HtmlGetChild = 1;
	WLAPI_HtmlGetParent = 2;
	WLAPI_HtmlGetSibling = 3;
	WLAPI_HtmlGetElementType = 4;
	WLAPI_HtmlGetElementText = 5;
	WLAPI_HtmlGetTextAttr = 6;
	WLAPI_HtmlGetTagName = 7;
	WLAPI_HtmlGetTagType = 8;
	WLAPI_HtmlGetTagAttr = 9;
	WLAPI_HtmlExtractTagAttr = 10;
	WLAPI_HtmlFindText = 11;
	WLAPI_HtmlFindSpecial = 12;
	WLAPI_HtmlFindComment = 13;
	WLAPI_HtmlFindTagType = 14;
	WLAPI_HtmlFindTagName = 15;
	WLAPI_HtmlFindTagAttr = 16;
	WLAPI_HtmlEnumFindText = 17;
	WLAPI_HtmlEnumFindSpecial = 18;
	WLAPI_HtmlEnumFindComment = 19;
	WLAPI_HtmlEnumFindTagType = 20;
	WLAPI_HtmlEnumFindTagName = 21;
	WLAPI_HtmlEnumFindTagAttr = 22;

{ Numeric IDs for utility APIs; order must match strings in listbox }
const
	WLAPI_AppendFormData = 0;
	WLAPI_GetFormDataLength = 1;
	WLAPI_ParseAbsoluteURL = 2;

implementation

end.
