SHOWINTASKBAR Attribute | showInTaskBar

HTML (DHTML)

SHOWINTASKBAR Attribute | showInTaskBar Property

Internet Development Index

Sets or retrieves a value that indicates whether the HTML Application (HTA) is displayed in the Microsoft® Windows® taskbar.

Syntax

HTML<HTA:APPLICATION SHOWINTASKBAR = bShow... >
Scripting[ bShow = ] HTA:APPLICATION.showInTaskBar

Possible Values

bShowBoolean that specifies one of the following values:
yesDefault. Application is displayed in the Windows taskbar.
noApplication is not displayed in the Windows taskbar.

The property is read-only. The property has a default value of yes.

Remarks

Note  The showInTaskBar property is read-only; however, the SHOWINTASKBAR attribute can be used to set the initial value.

The showInTaskBar property does not affect whether the application appears in the list of applications displayed when the user presses ALT+TAB.

Example

This example shows how to retrieve the showInTaskBar property.

<HTML>
<HEAD>
<HTA:APPLICATION ID="oHTA"
APPLICATIONNAME="myApp"
SHOWINTASKBAR="no"
>
<SCRIPT>
alert ("showInTaskBar    = " + oHTA.showInTaskBar);
</SCRIPT>
</HEAD>
<BODY SCROLL="no">
</BODY>
</HTML>
This feature requires Microsoft® Internet Explorer 5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

There is no public standard that applies to this property.

Applies To

HTA:APPLICATION

See Also

Introduction to HTML Applications (HTAs)