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

📄 create_virtual_cd_step_4.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 driveNumber = top.cvcd.driveNumber;
var savePath = top.cvcd.savePath;
var Tracks = top.cvcd.Tracks;
//萁

function Init(){
	chkBox_1=new checkBox("chkbox_1",false);
	chkBox_1.onCheck=function (){
		driveProgram.disabled = false;
		$("selectPath").dsiabled = false;
	}
	chkBox_1.onUncheck=function (){
		driveProgram.disabled = true;
		$("selectPath").dsiabled = true;
	}
	chkBox_1.apply();
	chkBox_1.apply();
	chkBox_2=new checkBox("chkbox_2",false);
	chkBox_2.apply();
	applyButton();
	driveProgram.disabled = true;
	$("selectPath").dsiabled = true;
	//info_Label.value = top.cvcd.objectX.GetVolumeInfo(driveNumber);
	
	previous.style.visibility = 'visible';
	next.style.visibility = 'visible';
	cancel.style.visibility = 'visible';
	comment.style.visibility = 'visible';
	selectPath.style.visibility = 'visible';
}

function chkboxAction(chkboxObj){
	if (eval(chkboxObj + ".checked")){
		eval(chkboxObj + ".setChecked(false);");
	}else{
		eval(chkboxObj + ".setChecked(true);");
	}
}

function btn_select(){
	 var result =GetFilepath("Image File(*.vcd)|*.vcd||",true);
	 if (result){
		 $("driveProgram").value=result;
	 }
}
</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 colspan="3"><span class="PageTitle">Create Virtual CD</span></td>
          </tr>
          <tr>
            <td colspan="3" style="padding-top:7px;"><img src="img/CreateAudioCD_02.jpg" width="507" height="1"></td>
          </tr>
          <tr>
            <td colspan="3" class="PageStep" style="padding-top:10px;" id="lang_1">Label and Encrpty the Virtual CD</td>
          </tr>
          
          <tr>
            <td width="100" class="PageText" style="padding-top:20px; padding-left:5px; padding-bottom:7px;" id="lang_2"> CD Label:</td>
            <td colspan="2" class="PageText" style="padding-top:20px;"><span class="PageText" style="padding-top:20px; padding-bottom:7px;">
              <input name="info_Label" id="info_Label" type="text" size="70">
            </span></td>
          </tr>
          <tr>
            <td width="100" height="25" class="PageText" style="padding-left:5px;" id="lang_3">Description:</td>
            <td height="22" colspan="2"><span class="PageText" style="padding-top:20px;">
              <input name="info_Description" id="info_Description" type="text" size="70">
            </span></td>
          </tr>
          <tr>
            <td width="100" height="25" class="PageText" style="padding-left:5px;" id="lang_3">Author:</td>
            <td width="257" height="22"><span class="PageText" style="padding-top:20px;">
              <input name="info_Author" id="info_Author" type="text" size="50">
            </span></td>
            <td width="182" style="padding-left:5px;"><button cstyle="rit" onClick="" id="comment" style="visibility:hidden;">Comment</button></td>
          </tr>
          <tr>
            <td width="100" height="25" class="PageText" style="padding-left:5px;" id="lang_5">Password:</td>
            <td height="22" colspan="2"><span class="PageText" style="padding-top:20px;">
              <input name="info_Password" id="info_Password" type="text" size="70">
            </span></td>
          </tr>
          <tr>
            <td width="100" height="25" class="PageText" style="padding-left:5px;" id="lang_6">Confirm:</td>
            <td height="22" colspan="2"><span class="PageText" style="padding-top:20px;">
              <input name="info_Confirm" id="info_Confirm" type="text" size="70">
            </span></td>
          </tr>
          <tr>
            <td colspan="3" style="padding-top:20px;"><span id="chkbox_1" style="float:left;"></span><span class="PageText" onClick="chkboxAction('chkBox_1');" style="cursor:'default';" id="lang_7"> Specify a command to be executed when the VCD is load, Check to add autorun functionality to your VCD. Enter the command in the field below.</span></td>
          </tr>
          <tr>
            <td colspan="3" class="PageText" style="padding-top:20px;" id="lang_8">Example: drive:athexecutable program.</td>
          </tr>
          <tr>
            <td colspan="2" style="padding-top:5px;"><span class="PageText" style="padding-top:20px;">
              <input name="driveProgram" id="driveProgram" type="text" size="70">
            </span></td>
            <td style="padding-top:5px; padding-left:10px;"><button cstyle="rit" onClick="btn_select();" id="selectPath" style="visibility:hidden;">...</button></td>
          </tr>
          <tr>
            <td height="30" colspan="3"><span style="padding-top:20px;"><span id="chkbox_2" style="float:left;"></span><span class="PageText" onClick="chkboxAction('chkBox_2');" style="cursor:'default';" id="lang_9"> Eject CD-ROM tray when the build process has competed.</span></span></td>
          </tr>
          <tr>
            <td height="74" colspan="3" align="right" valign="bottom"><button cstyle="rit" onClick="history.back();" id="previous" style="visibility:hidden;">Previous</button>&nbsp;&nbsp;&nbsp;<button cstyle="rit" onClick="nextPage();" id="next" style="visibility:hidden;">Next</button>&nbsp;&nbsp;&nbsp;<button cstyle="rit" onClick="location='Select_A_CD_DVD.htm';" id="cancel" style="visibility:hidden;">Cancel</button></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
<script language="javascript" type="text/javascript">
function nextPage(){
	top.cvcd.Label = info_Label.value;
	top.cvcd.Description = info_Description.value;
	top.cvcd.Author = info_Author.value;
	top.cvcd.Password = info_Password.value;
	top.cvcd.Confirm = info_Confirm.value;
	top.cvcd.Comment = "";
	if (chkBox_1.checked && driveProgram.value){
		top.cvcd.driveProgram = driveProgram.value;
	}else{
		top.cvcd.driveProgram = "";
	}
	if (chkBox_2.checked){
		Eject = true;
	}else{
		Eject = false;
	}
	top.cvcd.Eject = Eject;
	location = 'Create_Virtual_CD_step_5.htm';
}
</script>

⌨️ 快捷键说明

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