www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
MINIMIZEBUTTON Attribute | minimizeButton Property

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

Syntax

HTML<HTA:APPLICATION MINIMIZEBUTTON = bShowButton... >
Scripting[ bShowButton = ] HTA:APPLICATION.minimizeButton

Possible Values

bShowButtonBoolean that specifies one of the following values:
yesDefault. Minimize button is displayed.
noMinimize button is not displayed.

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

Remarks

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

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

Example

This example shows how to get the minimizeButton property.

<HTML>
<HEAD>
   <TITLE>Hello, World!</TITLE>
   <HTA:APPLICATION ID="oHTA"
    APPLICATIONNAME="myApp"
    CAPTION="yes"
    MINIMIZEBUTTON="yes"
   >
   <SCRIPT>
      alert ("minimizeButton    = " + oHTA.minimizeButton);
   </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)
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG