最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

HTA:APPLICATION Element | HTA:APPLICATION Object

Internet Development Index

Enables an extended object model for building HTML Applications (HTA).

Members Table

AttributePropertyDescription
APPLICATIONNAMEapplicationName Sets or retrieves the name of the HTML Application (HTA).
BORDERborder Sets or retrieves the type of window border for the HTML Application (HTA).
BORDERSTYLEborderStyle Sets or retrieves the style set for the content border within the HTML Application (HTA) window.
CAPTIONcaption Sets or retrieves a Boolean value that indicates whether the window is set to display a title bar or caption, for the HTML Application (HTA).
commandLine Retrieves the argument used to launch the HTML Application (HTA).
CONTEXTMENUcontextMenu Sets or retrieves whether the context menu is displayed when the right mouse button is clicked.
ICONicon Sets or retrieves the name and location of the icon specified in the HTML Application (HTA).
INNERBORDERinnerBorder Sets or retrieves whether the inside 3-D border is displayed.
MAXIMIZEBUTTONmaximizeButton Sets or retrieves a Boolean value that indicates whether a Maximize button is displayed in the title bar of the HTML Application (HTA) window.
MINIMIZEBUTTONminimizeButton Sets or retrieves a Boolean value that indicates whether a Minimize button is displayed in the title bar of the HTML Application (HTA) window.
NAVIGABLEnavigable Sets or retrieves whether linked documents will be loaded in the main HTML Application (HTA) window or in a new browser window.
SCROLLscroll Sets or retrieves whether the scroll bars are displayed.
SCROLLFLATscrollFlat Sets or retrieves whether the scroll bar is 3-D or flat.
SELECTIONselection Sets or retrieves whether the content can be selected with the mouse or keyboard.
SHOWINTASKBARshowInTaskBar Sets or retrieves a value that indicates whether the HTML Application (HTA) is displayed in the Microsoft® Windows® taskbar.
SINGLEINSTANCEsingleInstance Sets or retrieves a value that indicates whether only one instance of the specified HTML Application (HTA) can run at a time.
SYSMENUsysMenu Sets or retrieves a Boolean value that indicates whether a system menu is displayed in the HTML Application (HTA).
VERSIONversion Sets or retrieves the version number of the HTML Application (HTA).
WINDOWSTATEwindowState Sets or retrieves the initial size of the HTA window.

Remarks

Warning  HTAs can potentially expose the client machine to malicious script. HTAs, like .exe files have read/write access to the files and system registry on the client machine. Powerful executables can be produced and delivered quickly with a few short script statements. Use of HTAs is not recommended where security or the source of the file is questionable.

You can create an HTA by saving an existing HTML page with an .hta extension. However, to set application window properties, such as those listed in the Members table, include the HTA:APPLICATION tag within the head element.

The HTA:APPLICATION element requires a closing tag.

<HTA:APPLICATION ... > ... </HTA:APPLICATION>
Because the HTA:APPLICATION element is an empty tag, it can also be closed using the following shortcut.
<HTA:APPLICATION ...  />

Note   When using the shortcut, the forward slash must be preceded by a blank space.

This element is not rendered.

This element requires a closing tag.

Example

This example retrieves all the properties exposed by HTA:APPLICATION.

<HTML>
<HEAD>
<TITLE>HTA Demo</TITLE>
<HTA:APPLICATION ID="oHTA"
APPLICATIONNAME="myApp"
BORDER="thin"
BORDERSTYLE="normal"
CAPTION="yes"
ICON=""
MAXIMIZEBUTTON="yes"
MINIMIZEBUTTON="yes"
SHOWINTASKBAR="no"
SINGLEINSTANCE="no"
SYSMENU="yes"
VERSION="1.0"
WINDOWSTATE="maximize"/>
<SCRIPT>
/* This function also retrieves the value of the commandLine property,
which cannot be set as an attribute.  */
function window.onload()
{
sTempStr = "applicationName  = " + oHTA.applicationName + "\n" +
"border           = " + oHTA.border          + "\n" +
"borderStyle      = " + oHTA.borderStyle     + "\n" +
"caption          = " + oHTA.caption         + "\n" +
"commandLine      = " + oHTA.commandLine     + "\n" +
"icon             = " + oHTA.icon            + "\n" +
"maximizeButton   = " + oHTA.maximizeButton  + "\n" +
"minimizeButton   = " + oHTA.minimizeButton  + "\n" +
"showInTaskBar    = " + oHTA.showInTaskbar   + "\n" +
"singleInstance   = " + oHTA.singleInstance  + "\n" +
"sysMenu          = " + oHTA.sysMenu         + "\n" +
"version          = " + oHTA.version         + "\n" +
"windowState      = " + oHTA.windowState     + "\n" ;
oPre.innerText = sTempStr;
}
</SCRIPT>
</HEAD>
<BODY SCROLL="no">
<PRE ID=oPre>  </PRE>
</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.

See Also

Introduction to HTML Applications (HTAs)
怀宁县| 蓬溪县| 大港区| 聂拉木县| 柞水县| 纳雍县| 渑池县| 蒙城县| 长春市| 茂名市| 济源市| 大冶市| 盘锦市| 白城市| 梁山县| 琼中| 乌拉特中旗| 广昌县| 壶关县| 大化| 康平县| 潞城市| 龙井市| 册亨县| 三台县| 开封市| 苗栗县| 南溪县| 宁乡县| 马边| 乾安县| 公安县| 繁峙县| 清涧县| 城市| 盐源县| 诸城市| 新乡市| 曲阳县| 建阳市| 株洲市|