⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 about.htm

📁 vc-mfc编程实例 很简单的东西,以后回多传自己的东西
💻 HTM
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Conversion</title>

<link href="css/main.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
#label_3 {
	position:absolute;
	width:127px;
	height:54px;
	z-index:1;
	left: 341px;
	top: 204px;
	padding:10px;
}
.STYLE1 {font-size: 14px}
.STYLE2 {font-size: 12px}
.STYLE3 {font-size: 11px}
-->
</style>
</head>
<script language="javascript" src="js/comm.js" type="text/javascript"></script>
<script language="javascript">
// import js document
	_import("function");
	//_import("main_only");
	_import("language");
	_import("langSet");
	_import("webmenuevent");
	_import("control");
</script>
<script language="javascript" type="text/javascript">
var thePath1=Request("thePath");
var downListObj;
var GetD;
var chars = new Array("A:","B:","C:","D:","E:","F:","G:","H:","I:","J:","K:","L:","M:","N:","O:","P:","Q:","R:","S:","T:","U:","V:","W:","X:","Y:","Z:")

function Init(){
	showui();
	//alert(window.external.GetRegisterID());
	var uType = SysInfo.GetLicenseName(window.external.GetProductID());
	if (uType){
		uName.innerHTML = uType;
	}else{
		uName.innerHTML = GS("Product_UserType");
	}
	var uSign = SysInfo.GetVersionSign(window.external.GetProductID());
	//if (uSign == 1){
//		About_label_1.innerHTML = GS("About_Label_1_1");
//	}
	var Ver = SysInfo.GetAboutVersion(window.external.GetProductID());
	var Ex = new analyseXml(Ver);
	Version.innerHTML = Ex.szAboutVer;
	versionN.innerHTML = Ex.szAboutBuildNo;
	if (window.external.GetRegisterID()&&uSign == 0){
		About_label_6.style.display = 'block';
		registerid.innerHTML = window.external.GetRegisterID();
	}
	
}

function btn_select()
{
GetFilepath("IMG","Path");
var result = window.external.GetStaticData();
if(result!="")
{
document.getElementById("Path1").value=result;
}
}

function showui(){
	$("About_label_1").innerHTML = GS("About_Label_1");
	$("About_label_2").innerHTML = GS("About_label_2");
	$("About_label_3").innerHTML = GS("About_Label_3");
	$("About_label_4").innerHTML = GS("About_Label_4");
	$("About_label_5").innerHTML = GS("About_Label_5");
	$("About_label_6").innerHTML = GS("About_Label_6");
	$("pic").style.backgroundImage = 'url('+GS("Pic_1")+')';
}
</script>
<object id="SysInfo" style="WIDTH: 0px; HEIGHT: 0px; visibility:hidden " classid="clsid:FAA9C374-4C76-4F32-A3C7-31C5AE338972"></object>
<body onKeydown="event.returnValue=disableBack();" onLoad="Init();">
<table width="500" border="0" cellspacing="0" cellpadding="0" id="boxwidth">
  <tr>
    <td width="410" background="images/alert_msg_r1_c5.jpg" onMouseDown="moveWindow();"><table width="165" height="29" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="165" style="background-repeat:no-repeat;" id="pic">&nbsp;</td>
      </tr>
    </table></td>
    <td width="51" align="right" background="images/alert_msg_r1_c5.jpg" onMouseDown="moveWindow();"><table width="18" height="16" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="18" background="images/alert_msg_r2_c8.jpg" class="arial11black" style="cursor:hand; font-size:0px;" onClick="window.external.SetStaticData('');window.external.OnClose();" onMouseOver="isMove=false;" onMouseOut="isMove=true;">&nbsp;</td>
      </tr>
    </table></td>
    <td width="20" align="right" background="images/alert_msg_r1_c5.jpg" onMouseDown="moveWindow();"><table width="30%" height="29" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td style="background-image:url(images/alert_msg_top_right.jpg); background-repeat:no-repeat; background-position:right;">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="top"><img src="images/alert_msg_r4_c1.jpg" width="9" height="6" /></td>
        <td><img src="" width="1" height="1" alt="" /></td>
        <td align="right" valign="top"><img src="images/alert_msg_r4_c11.jpg" width="9" height="6" /></td>
      </tr>
    </table>
        <table width="100%" height="353" border="0" cellpadding="0" cellspacing="0" id="boxheight">
          <tr>
            <td width="10" align="left" valign="bottom" background="images/alert_msg_r5_c1.jpg" style="background-position:left; background-repeat:repeat-y;">&nbsp;</td>
            <td align="left" valign="middle" class="arial11black" style="background-repeat:repeat-x; background-position:bottom;"><table width="100%" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td height="20" class="PageStep STYLE2" style="padding-right:20px; padding-left:10px;">
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="240" class="PageStep STYLE2"><span style="float:left;">VirtualDrive<sup>&reg;</sup> Pro</span></td>
                      <td class="PageStep STYLE2"><span style="float:none;" id="About_label_1"></span>&nbsp;<span class="PageStep" id="uName" style="float:none;"></span></td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td valign="top" style="padding-right:20px; padding-left:10px;">
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="240" class="MenuSubFont STYLE3"><b><span id="About_label_3" style="float:none;"></span></b>&nbsp;<span id="Version" style="float:none;"></span>(<span id="About_label_4" style="float:none;"></span><span id="versionN"></span>)</td>
                      <td class="MenuSubFont STYLE3"><span id="About_label_6" style=" display:none; float:left;"></span><span style="float:left;">&nbsp;</span><span id="registerid" style="float:left;"></span></td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td valign="top" style="padding-right:20px; padding-left:10px; padding-top:20px;" class="STYLE3"><span id="About_label_2" class="pagetext" align="left" style="color:#285ca5;"></span></td>
              </tr>
              <tr>
                <td height="211" align="center" background="img/about_02.jpg" style="padding-top:20px; background-position:center; background-repeat:no-repeat;">
                </td>
              </tr>
              <tr>
                <td style="padding-top:20px;"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="PageText">
                    <tr>
                      <td width="78%" class="PageText" style="padding-left:20px;" id="About_label_5"></td>
                    </tr>
                </table></td>
              </tr>
            </table></td>
            <td width="10" align="right" valign="bottom" background="images/alert_msg_r5_c10.jpg" style="background-position:right; background-repeat:repeat-y;">&nbsp;</td>
          </tr>
        </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="5%" valign="top" background="images/alert_msg_bottom_center.jpg" style="background-position:top; background-repeat:repeat-x;"><img src="images/alert_msg_bottom_left.jpg" width="9" height="12" /></td>
            <td width="90%" background="images/alert_msg_bottom_center.jpg" style="background-position:top; background-repeat:repeat-x;">&nbsp;</td>
            <td width="5%" align="right" valign="top" background="images/alert_msg_bottom_center.jpg" style="background-position:top; background-repeat:repeat-x;"><img src="images/alert_msg_bottom_right.jpg" width="9" height="12" /></td>
          </tr>
      </table></td>
  </tr>
</table>
<script language="javascript">
var isMove=true;
var leftButtonId="";
var rightButtonId="";
var oldPassword="";
var t1="";


function moveWindow() {
	if (isMove) {
		window.external.OnMoveWindow();
	}
}

function closeWindowSetStaticData(flag)
{
	if (flag==1)
	{
		window.external.SetStaticData(GetD);
	}
	else
	{
		window.external.SetStaticData("Cancel");
	}
	window.external.OnClose();
}

function closeself()
{
window.external.SetStaticData("Cancel");
window.external.OnClose();
}


function Do_search()
{
scollbar.style.display = 'block';
obj1.StopSearch();
obj1.StartSearch(document.getElementById("Path1").value,"*.VCD");
//scollbar.style.display = 'none';
}

function getStatus(){
	scollbar.style.display = 'none';
}
function getselect()
{
	if(obj1.GetCurrentSelectItemNum()>0)
	{
		$("D2").dsiabled=false;
	}
	else
	{
		$("D2").dsiabled=true;
	}
	setTimeout("getselect()",500);
}
function Do_add()
{
obj1.GetSelectPath();
window.external.SetStaticData(t1);
window.external.OnClose();
//obj1.SelectFilePath();
//alert(f1);
//obj1.AddVcdFileToList(f1);
//obj1.SaveDriverSetting();
}


function chekKeyCode(code)
{
	if(code==32)
	{
	   //event.srcElement.click();
	   //alert(event.srcElement.innerHTML);
	}
	if (code==27)
	{
		window.external.SetStaticData("Cancel");
		window.external.OnClose();
	}
	
}
function getselectfile(lpFilePath)
{
	t1+=(lpFilePath+"|");
}
</script>
<script language="vbs">
sub obj1_SelectFilePath(lpFilePath)
	'msgbox lpFilePath
	getselectfile lpFilePath
end sub

sub obj1_SearchEvent(val1)
	'msgbox val1
	getStatus
end sub
</script>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -