Click to return to the DHTML, HTML     
ICON Attribute | icon Pro...     MINIMIZEBUTTON Attribute ...     HTML Applications Referen...    
Web Workshop  |  DHTML, HTML & CSS

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:
yesMaximize button is displayed.
noMaximize 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>
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:
HTA:APPLICATION

See Also

HTML Applications Overview



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.