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

📄 adderror.htm

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

<link href="css/main.css" rel="stylesheet" type="text/css">
</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>
<body>
<object id="memory" style="WIDTH: 0px; HEIGHT: 0px; visibility:hidden " classid="clsid:FAA9C374-4C76-4F32-A3C7-31C5AE338972"></object>
<table width="393" 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="150" 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="top" style="background-repeat:repeat-x; background-position:bottom;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="70" valign="top" class="arial11black PageText" style="word-break:break-all;"><span id="addError_label1" style="float:none; margin-left:30px; margin-top:10px;"></span><span id="filePath" style="float:none; margin-top:10px;"></span>&nbsp;<span id="addError_label2" style=" margin-top:10px; float:none;"></span></td>
  </tr>
  <tr>
    <td class="arial11black PageText"><div id="chkBox" style="float:left; margin-left:30px; margin-top:30px;"></div><div id="addError_label3" style="margin-top:30px;" onClick="chkBox_1.setChecked(!chkBox_1.checked);"></div></td>
  </tr>
  <tr>
    <td class="arial11black PageText" style="padding-bottom:10px;"><div align="center" style=" margin-top:30px;"><button cstyle="rit" onClick="closeWindowSetStaticData();" id="next">OK</button></div></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 errCode = "";
//var fileName = Request("filename").replace(/\|/g,"\\");
//alert(fileName.replace(/\//gi,"\\"));
document.body.onload=function()
{
	memory.CreateShareMemory("vcdName",10240);
	getData = memory.GetShareMemData(10240);
	memory.CloseShareMemory();
	fileName = getData.split("|")[0];
	errCode = getData.split("|")[1];

	chkBox_1=new checkBox("chkBox",false);
	chkBox_1.apply();
	filePath.innerHTML = fileName.replace(/\//gi,"\\");
	applyButton();
	showui();
}

function showui(){
	$("pic").style.backgroundImage = 'url('+GS("Pic_1")+')';
	addError_label1.innerHTML = GS("addError_label1");
	if (errCode == "-61437"){
		addError_label2.innerHTML = GS("addError_label2");
	}else if (errCode == "-61439"){
		addError_label2.innerHTML = GS("addError_label2_1");
	}
	addError_label3.innerHTML = GS("addError_label3");
	$("next").setValue(GS("Button_OK"));
}

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

function closeWindowSetStaticData()
{
	if (chkBox_1.checked){
		window.external.SetStaticData("yes");
		window.external.OnClose();
	}else{
		window.external.SetStaticData("");
		window.external.OnClose();
	}
}



function CloseSelf()
{
window.external.SetStaticData("");
window.external.OnClose();
}
function chekKeyCode(code)
{
	if(code==32)
	{
	   //event.srcElement.click();
	   //alert(event.srcElement.innerHTML);
	}
	if (code==27)
	{
		window.external.OnClose();
	}
	
}

</script>




</body>

⌨️ 快捷键说明

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