MINIMIZEBUTTON Attribute | minimizeButton Property

MS Office DHTML, HTML & CSS

MINIMIZEBUTTON Attribute | minimizeButton Property


Retrieves whether a Minimize button is displayed in the title bar of the HTML Application (HTA) window.

Syntax

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

Possible Values

bShowButton Boolean that specifies one of the following values:
yesMinimize button is displayed.
">noMinimize button is not displayed.

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

Remarks

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

Example

This example shows how to retrieve the minimizeButton property.

Sample Code

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