HBCMS更多的中文手册参考:

MAXIMIZEBUTTON Attribute | maximizeButton参数属性

DHTML文档教程

Sets or retrieves a Boolean value that indicates whether a Maximize button is displayed in the title bar of the HTML Application (HTA) window.

dhtml语法

HTML<HTA:APPLICATION MAXIMIZEBUTTON = bShowButton... >
Scripting[ bShowButton = ] HTA:APPLICATION.maximizeButton

DHTML可能的值

bShowButtonBooleanthat specifies one of the following values:
yesDefault. Maximize button is displayed.
noMaximize button is not displayed.

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

Remarks

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

The window must have a title bar or caption for the Minimize and Maximize buttons to display.

DHTML代码范例

This example shows how to retrieve the maximizeButton property.

<HTML>
<HEAD>
<TITLE>Hello, World!</TITLE>
<HTA:APPLICATION ID="oHTA"
APPLICATIONNAME="myApp"
CAPTION="yes"
MAXIMIZEBUTTON="yes"
>
<SCRIPT>
alert("maximizeButton    = " + oHTA.maximizeButton);
</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)