Author: Shiring
The toolbar, Address bar, and menu bar in the original page are not displayed in this window, and you can use theHTMLThe vast majority of tags, scripts, and so on, which gives you more control over the interface design. (Gosh, how excited I was when I saw this saying, isn't this a GUI interface designed for the VBS script?) )
compared to ordinary HTML pages, it has a hta:application tag, which is actually the tag that provides a series of application-oriented features, this particular tag, Allows you to control the user interface (UI) of this application. <HTA:APPLICATION> tags are located in the <HEAD> tab, which allows you to control whether a title bar is displayed in the contained window, or display the max Minimize button. <HTA:APPLICATION> tags also allow you to access the client's machine without worrying about security restrictions.
Objects:hta:application-necessary tags. Indicates that the HTML document is an HTA application object Model |
ApplicationName Properties-Sets the name of the HTA |
Borde Properties-Sets the window border type, the default value is thick |
Thick |
Specifies that the window is a thick border |
dialog window |
Specify Window As dialog box |
None |
Specifies that a window has no border |
Thin |
Specifies that the window is a narrow border |
BorderStyle Properties-Sets the window's border format with the default value of normal |
Normal |
Normal border |
Complex |
Bump Format Combo Border |
Raised |
Protruding 3D border |
Static |
3D Border |
Sunken |
Recessed 3D border |
Caption Properties-Sets whether the window displays a title bar or caption, and the default is Yes |
Icon Properties-Sets the icon for the application. |
Maximizebutton Properties-Sets whether the Maximize button is displayed in the window, and the default is Yes. |
Minimizebutton Properties-Sets whether the minimized button is displayed in the window, and the default is Yes. |
ShowInTaskbar Properties-Sets whether this application is displayed in the taskbar, and the default is Yes. |
singleinstance Property-Sets whether this application can be run only once. This property is identified with the ApplicationName property, and the default value is no. |
Sysmenu Properties-Sets whether the system menu is displayed in the window, and the default is Yes. |
Version Property-Sets the version of the application and the default value is null. |
WindowState Properties-Sets the initial size of the window and the default is normal. |
Normal |
Default size |
Minmize |
Minimize |
Maximize |
Maximize |