HBCMS更多的中文手册参考:

SHOWINTASKBAR Attribute | showInTaskBar参数属性

DHTML文档教程

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

dhtml语法

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

DHTML可能的值

bShowBooleanthat 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.

DHTML代码范例

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.

是否符合公共标准

There is no public standard that applies to this property.

Applies To

HTA:APPLICATION

更多语法参考

Introduction to HTML Applications (HTAs)