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

📄 save_hard_virtual_drive.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">
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</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>
<body onKeydown="event.returnValue=disableBack();" style="cursor:wait;">
<table width="540" height="495" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="top"><table width="509" height="412" border="0" cellpadding="0" cellspacing="0" style="margin-top:41px;">
      <tr>
        <td valign="top"><table width="509" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><div id="save_vhd_title" class="PageTitle">
			Save Virtual Hard Drive
			</div></td>
          </tr>
          <tr>
            <td style="padding-top:7px;"><img src="img/CreateAudioCD_02.jpg" width="507" height="1"></td>
          </tr>
          <tr>
            <td class="PageStep" style="padding-top:10px;"><table border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="images/running.gif" width="21" height="21"></td>
                <td><span class="PageStep" style="padding-top:10px;" id="save_vhd_proc">&nbsp;&nbsp;System is saving Virtual Hard Drive to an image file. Please wait...</span></td>
              </tr>
            </table>
              </td>
          </tr>
          <tr>
            <td class="PageText" style="padding-top:3px;">&nbsp;</td>
            </tr>
          
          <tr>
            <td align="center" valign="bottom" class="PageSubTitle STYLE1" style="padding-top:10px; padding-bottom:30px; visibility:hidden;" id="errPrompt"><span id="detialerror">Save image failed!</span> </td>
          </tr>
          <tr>
            <td height="275" align="right" valign="bottom" style="visibility:hidden;" id="errButton"><button cstyle="rit" onClick="errPrompt.style.visibility='hidden';errButton.style.visibility='hidden';action();" id="try" style=" cursor:default;">Try again</button>&nbsp;&nbsp;<button cstyle="rit" onClick="location='main_vhd.htm';" id="cancel" style=" cursor:default;">Cancel</button></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<script>
var imgname;
var obj = new ActiveXObject("VHDCom.VHDInterface.1");
document.body.onload=function()
{
	applyButton();
	//var imgpath=Request("imgpath");
	showui();
	parent.maskLeftMenu();
	setTimeout("action()",500);
	
}
function action()
{
	
	//alert(parent.imgpath);
	var result=obj.SaveImage(parent.imgpath);
	if(result==0)
	{
		if(parent.imgdesc!="")
		{
			obj.SetCurImageDes(parent.imgdesc);
		}
		
		setTimeout("jump()",200);
	}
	else
	{
		parent.demaskLeftMenu();
		if(GS(result)!=null)
		{
			$("detialerror").innerHTML=GS(result);
		}
		
		else
		{
			$("detialerror").innerHTML=GS("unkownerror")+result;
		}
		//$("detialerror").innerHTML=GS(result);
		errPrompt.style.visibility = 'visible';
		errButton.style.visibility = 'visible';
	}
}
function jump()
{
	document.location="Save_Hard_Virtual_Drive_step_3.htm?imgname="+imgname;
}
function showui()
{
	
	$("save_vhd_title").innerHTML=GS("save_vhd_title");
	$("save_vhd_proc").innerHTML=GS("save_vhd_proc");
	$("try").setValue(GS("Button_TryAgain"));
	$("cancel").setValue(GS("Button_Cancel"));
	
}
</script>
</body>
</html>

⌨️ 快捷键说明

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