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

📄 create_virtual_hard_drive_step_5.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>
<script language="javascript" type="text/javascript">
//菘始
var FileSystem = Request("FileSystem");
var DriveNumber = Request("DriveNumber");
var DiskSize = Request("DiskSize");
//var Path = Request("Path");
//var Description = Request("Description");
//萁
var VirtualInfo = new ActiveXObject("VHDCom.VHDInterface.1");

function Init(){
	applyButton();
	setTimeout(cvhd,500);
	
	showui();
}

function cvhd(){
	Label = "FSRAMDISK";
	if (FileSystem == 0){
		diskType = 255;
	}else if (FileSystem == 1){
		diskType = 16;
	}else if (FileSystem == 2){
		diskType = 32;
	}else{
		diskType = 0;
	}
	parent.maskLeftMenu();
	var returnInfo = VirtualInfo.CreateDisk(DiskSize,diskType,DriveNumber);
	//alert(returnInfo);
	if (returnInfo == "0"){
		VirtualInfo.FormatDisk(DriveNumber,diskType,Label,1);
		location = 'Create_Virtual_Hard_Drive_jump.htm';
	}else{
		if (GS(returnInfo + "") == null){
			RIT_popMsg('',264,180,'Alert',GS("unkownerror") + returnInfo,'alert');
		}else{
			RIT_popMsg('',264,180,'Alert',GS(returnInfo + ""),'alert');
		}
		parent.demaskLeftMenu();
		location = 'main_vhd.htm';
		return false;
	}
}

function showui(){
	$("CVHD_Title").innerHTML = GS("CVHD_Title");
	$("CVHD_Step5_Title").innerHTML = GS("CVHD_Step5_Title");
}
</script>

<body onKeydown="event.returnValue=disableBack();" onLoad="Init();" 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><span class="PageTitle" id="CVHD_Title"></span></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="CVHD_Step5_Title"></span></td>
              </tr>
            </table>
              </td>
          </tr>
          <tr>
            <td class="PageText" style="padding-top:3px;"></td>
            </tr>
          
          <tr>
            <td align="center" valign="bottom" style="padding-top:10px; padding-bottom:30px;">&nbsp;</td>
          </tr>
          <tr>
            <td align="right" valign="bottom">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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