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:
yes Minimize button is displayed. no Minimize 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>
Applies To
HTA:APPLICATION
See Also