Like @Teemu
said I putted the <!DOCTYPE html>
ant the <meta http-equiv="x-ua-compatible" content="ie=9">
. Now it work with a strange behavior the GUI is not transparent but the color is clearer. So setting the Alpha channell act like reducing the value of the RGB
color and not setting the transparency of the GUI.
Is there a way to have the main GUI transparent ?
The HTA GUI :
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="x-ua-compatible" content="ie=9">
<title>Test</title>
<HTA:APPLICATION
APPLICATIONNAME="Test"
ID="RestoreHta"
VERSION="1.0"
BORDER="dialog"
BORDERSTYLE="complex"
INNERBORDER="no"
SCROLL="no"
CONTEXTMENU="no"/>
<SCRIPT Language="VBScript">
Sub Window_Onload
self.ResizeTo 300,300
End Sub
</SCRIPT>
</head>
<body style="background-color:rgba(255,0,0,0.3)">
</body>
</html>