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

📄 create_virtual_hard_drive_step_1.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 VirtualInfo = new ActiveXObject("VHDCom.VHDInterface.1");
var haveVHD;
for (i=1;i<26;i++){
	if (VirtualInfo.IsVHDDisk(i) == 0){
		haveVHD = 1;
		break;
	}
}
if (haveVHD == 1){
	location = 'Create_Virtual_Hard_Drive_step_1_1.htm';
}


var container1=new container("0");
var radioStyle = new UIStyle();
radioStyle.setStyle("controlimg/radiobutton.jpg",12,12,12,0);//(picture,width,height,startX,startY)
var rb_1 = new radioButton();
var rb_2 = new radioButton();

rb_1.applyStyle(radioStyle);
rb_1.setValue("0");
rb_1.attachMeToContainer("container1");
rb_1.setDefault();
rb_1.oncheck = function() {
}

rb_2.applyStyle(radioStyle);
rb_2.setValue("1");
rb_2.attachMeToContainer("container1");
rb_2.oncheck = function() {
	
}

function Init(){
	applyButton();
}
</script>

<body onKeydown="event.returnValue=disableBack();" onLoad="Init();">
<table width="569" height="522" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center"><table width="509" height="412" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="top"><table width="509" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><span class="PageTitle">Create Virtual Hard Drive</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;">&nbsp;</td>
          </tr>
          <tr>
            <td class="PageText" style="padding-top:3px;" id="lang_1">Create a Virtual Hard Drive or Mount an Image file to a Virtual Hard Drive. You complete Operations as to Hard Disk partions.</td>
            </tr>
          
          <tr>
            <td align="center" valign="bottom" style="padding-top:20px;"><table width="500" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="20" align="center"><script>rb_1.displayButton();</script></td>
                <td><table border="0" cellspacing="0" cellpadding="0" onClick="rb_1.check();" style="cursor:default;">
                  <tr>
                    <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="10" height="12"><img src="img/CreateVirtualHardDrive_02.jpg" width="10" height="17"></td>
                        <td width="150" height="12" class="PageStep"><div align="center" id="lang_2">Create Virtual Hard drive</div></td>
                        <td height="17" background="img/CreateVirtualHardDrive_03.jpg" style="font-size:1px;">&nbsp;</td>
                        <td width="4" height="12"><img src="img/CreateVirtualHardDrive_04.jpg" width="4" height="17"></td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="1" bgcolor="dd9048"></td>
                        <td class="PageText" style="padding:10px;" id="lang_3">Divide RAM Disk into a partition of fixed size. You can use this partition to exchange data. It meets the need for high speed of reading and writing data.</td>
                        <td width="1" bgcolor="dd9048"></td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="3" height="3"><img src="img/CreateVirtualHardDrive_05.jpg" width="3" height="3"></td>
                        <td height="3" background="img/CreateVirtualHardDrive_06.jpg" style="font-size:1px;">&nbsp;</td>
                        <td width="3" height="3"><img src="img/CreateVirtualHardDrive_07.jpg" width="3" height="3"></td>
                      </tr>
                    </table></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td align="center" valign="bottom" style="padding-top:20px;"><table width="500" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="20" align="center"><script>rb_2.displayButton();</script></td>
                <td><table border="0" cellspacing="0" cellpadding="0" onClick="rb_2.check();" style="cursor:default;">
                    <tr>
                      <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td width="10" height="12"><img src="img/CreateVirtualHardDrive_02.jpg" width="10" height="17"></td>
                            <td width="210" height="12" class="PageStep"><div align="center" id="lang_4">Load an Image to Virtual Hard Drive</div></td>
                            <td height="17" background="img/CreateVirtualHardDrive_03.jpg" style="font-size:1px;">&nbsp;</td>
                            <td width="4" height="12"><img src="img/CreateVirtualHardDrive_04.jpg" width="4" height="17"></td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td><table width="479" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="1" bgcolor="dd9048"></td>
                            <td class="PageText" style="padding:10px;" id="lang_5">Load the existing Image file of virtual Hard Disk to system as a Virtual Hard partition.</td>
                            <td width="1" bgcolor="dd9048"></td>
                          </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="3" height="3"><img src="img/CreateVirtualHardDrive_05.jpg" width="3" height="3"></td>
                            <td height="3" background="img/CreateVirtualHardDrive_06.jpg" style="font-size:1px;">&nbsp;</td>
                            <td width="3" height="3"><img src="img/CreateVirtualHardDrive_07.jpg" width="3" height="3"></td>
                          </tr>
                      </table></td>
                    </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="155" align="right" valign="bottom"><button cstyle="rit" onClick="nextPage();" id="next">Next</button></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
<script language="javascript" type="text/javascript">
function haslatter()
{
	var nullDrive = VirtualInfo.GetNullDrive();
	if(nullDrive=="")
	{
		return false;
	}
	else
	{
		return true;
	}
	
	
}
function nextPage(){
	if(haslatter()==false)
	{
		RIT_popMsg('',264,180,'Alert','No available letter can be assigned to Virtual Hard Drive in the current system!','alert');
		return;
	}
	var haveVHD = 0;
	for (i=1;i<26;i++){
		if (VirtualInfo.IsVHDDisk(i) == 0){
			haveVHD = 1;
			break;
		}
	}

	if (container1.value == "0"){
		if (haveVHD == 1){
			RIT_popMsg('',264,180,'Alert','You are created a Virtual Hard Drive!','alert');
			return;
		}
		location = 'Create_Virtual_Hard_Drive_step_2.htm';
	}else{
		if (haveVHD == 0){
			RIT_popMsg('',264,180,'Alert','You need to create a Virtual Hard Drive!','alert');
			return;
		}
		location = 'Load_Virtual_Hard_Drive_Image.htm';
	}
}
</script>

⌨️ 快捷键说明

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