MAXIMIZEBUTTON Attribute | maximizeButton Property
Retrieves whether a Maximize button is displayed in the title bar of the HTML Application (HTA) window.
Syntax
HTML <HTA:APPLICATION MAXIMIZEBUTTON=bShowButton> Scripting [ bShowButton = ] oHTA.maximizeButton
Possible Values
bShowButton Boolean that specifies one of the following values:
yes Maximize button is displayed. ">no Maximize 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 maximizeButton property.
Sample Code
<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>
Applies To
[ Object Name ] Platform Version 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
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.