SHOWINTASKBAR Attribute | showInTaskBar Property

DHTML, HTML, & CSS

SHOWINTASKBAR Attribute | showInTaskBar Property


Retrieves whether the HTML Application (HTA) is displayed in the Microsoft® Windows® taskbar.

Syntax

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

Possible Values

bShow Boolean that specifies one of the following values:
yesApplication is displayed in the Windows taskbar.
noApplication is not displayed in the Windows taskbar.

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

Remarks

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.

Sample Code

<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 icon below to install the latest version. Then reload this page to view the sample.
Microsoft Internet Explorer

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
Version data is listed when the mouse hovers over a link, or the link has focus.
HTA:APPLICATION

See Also

html applications overviewInternet Link


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.