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

📄 main_setting_1.htm

📁 vc-mfc编程实例 很简单的东西,以后回多传自己的东西
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Create Audio CD</title>
<link href="css/ritstyle.css" type="text/css" rel="stylesheet">
<link href="css/css.css" type="text/css" rel="stylesheet">
<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 id="body">
<script>
var islogoff=false;
var vlogoff=false;
var container1=new container("0");
var backupDriverStyle = new UIStyle();
backupDriverStyle.setStyle("controlimg/radiobutton.jpg",12,12,12,0);//(picture,width,height,startX,startY)
backupDriverStyle.setReversalPosition(0,0);
backupDriverStyle.setDisablePosition(24,0);
backupDriverStyle.setDisableSelectedPosition(36,0);
var FealtureList  = new radioButton();
var VCDLibary = new radioButton();


FealtureList.applyStyle(backupDriverStyle);
FealtureList.setValue("0");
FealtureList.attachMeToContainer("container1");
FealtureList.setDefault();
FealtureList.oncheck = function() {
	//alert("SSS");
}
VCDLibary.applyStyle(backupDriverStyle);
VCDLibary.setValue("1");
VCDLibary.attachMeToContainer("container1");

var container_autorun=new container("0");
var everyrb  = new radioButton();
everyrb.applyStyle(backupDriverStyle);
everyrb.setValue("0");
everyrb.attachMeToContainer("container_autorun");
//everyrb.setDefault();
everyrb.oncheck = function() {
	if(container_autorun.value==0)
	{
		drop_minutes.Enable();
	}
	else
	{
		drop_minutes.Disable();
	}	
}
var realrb  = new radioButton();
realrb.applyStyle(backupDriverStyle);
realrb.setValue("1");
realrb.attachMeToContainer("container_autorun");
realrb.setDefault();
realrb.oncheck = function() {
	if(container_autorun.value==0)
	{
		drop_minutes.Enable();
	}
	else
	{
		drop_minutes.Disable();
	}	
}
//var AllphysicalDrive  = new radioButton();
//AllphysicalDrive.applyStyle(backupDriverStyle);
//AllphysicalDrive.setValue("2");
//AllphysicalDrive.attachMeToContainer("container_autorun");
////OnlytheDevice.setDefault();
//AllphysicalDrive.oncheck = function() {
//	//alert("SSS");
//}


var flag_1 = true;
var flag_2 = true;

//function changeStatus(itemObj,flag){
//	if(flag!=null)
//	{
//		if(flag=="on")
//		{
//			
//			eval("status_" + itemObj).style.backgroundImage = "url(img/light_red.gif)";
//			eval("text_" + itemObj).innerHTML = GS("off");//"Off";
//			
//		}
//		else
//		{
//			eval("status_" + itemObj).style.backgroundImage = "url(img/light_green.gif)";
//			eval("text_" + itemObj).innerHTML = GS("on");//"On";
//		}
//		return;
//	}
//	
//	if (eval("flag_" + itemObj)){
//		eval("status_" + itemObj).style.backgroundImage = "url(img/light_red.gif)";
//		eval("text_" + itemObj).innerHTML = GS("off");//"Off";
//		eval("flag_" + itemObj + " = false");
//	}else{
//		eval("status_" + itemObj).style.backgroundImage = "url(img/light_green.gif)";
//		eval("text_" + itemObj).innerHTML = GS("on");//"On";
//		eval("flag_" + itemObj + " = true");
//	}
//}
</script>
<object id="globalset" style="WIDTH: 0px; HEIGHT: 0px; visibility:hidden " classid="clsid:A56CA636-227F-4839-887E-1933386804C0">
</object>
<table width="540" height="495" 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 width="509">
			<div id="main_title" class="PageTitle">
			VirtualDrive Pro Main
			</div>
			<!--<img src="img/Main_Setting_01.jpg" width="168" height="13">-->
			</td>
          </tr>
          <tr>
            <td class="PageText" style="padding-top:20px;"><img src="img/Main_Setting_02.jpg" width="510" height="32" border="0" usemap="#Map" id="titlePic"></td>
          </tr>
          <tr>
            <!-- <td align="center" style="padding-top:20px;">-->
            <td rowspan="5" valign="top" align="left">
				<div style="background-image:url(fleximages/flex_top_left.jpg); width:5px; height:22px; float:left; " class="tahoma11pxblack">&nbsp;</div>
                <div onClick="scrollSub('settingPage1',260)" style="width:480px; height:22px; float:left; background-color:#E8F2FE; border-top:1px solid #6075A0; border-bottom:1px solid #6075A0; line-height:20px; font-size:11px; font-family:Tahoma, Arial; font-weight:bold; color:#3D5D8C; padding-left:8px; cursor:pointer;" id="lang_1" >Global Setting</div>
                <div style="width:20px; height:22px; float:left; background-color:#E8F2FE; border-top:1px solid #6075A0; border-bottom:1px solid #6075A0; padding-top:4px; line-height:1px; font-size:1px; " class="tahoma11pxblack"> <span onClick="scrollSub('settingPage1',260)" style="cursor:hand;"><img src="fleximages/array_down.jpg" /></span> </div>
                <div style="float:left; clear:right; height:22px; width:5px;background-image:url(fleximages/flex_top_right.jpg); clear:right;"></div>
                <div id="settingPage1" style=" overflow:hidden;clear:left; width:510px; height:260px;border-left:1px solid #6075A0;border-right:1px solid #6075A0; padding-left:23px; padding-right:23px; padding-top:12px;">
                <fieldset style="width:460; padding:10px;  " align="center">
					<div class="tahoma11pxblack" id="lang_2">When you Insert or Eject a VCD,use a flash to show the action.This loos more vivid.</div>
                <div id="chk_showflash" style="float:left; padding-left:15px; padding-top:5px;" class="tahoma11pxblack"></div>
				
                <span class="tahoma11pxblack" style="padding-top:5px;" onClick="showflash.setChecked(!showflash.checked);" id="lang_3">Show animation on VCD Insert/Eject</span>
				</fieldset>
				<div style="height:5px;"></div>
                 <fieldset style="width:460; padding:10px; padding-top:5px;" align="center">
			    <div class="tahoma11pxblack" style="padding-left:-15px; padding-top:5px;" id="lang_4">The setting below make VCDs retained in previous Virtual Drives after system boots.</div>
                <div id="chk_reboot" style="float:left; padding-left:15px; padding-top:5px;" class="tahoma11pxblack"></div>
                <span class="tahoma11pxblack" style="padding-top:5px;" onClick="chk_reboot.setChecked(!chk_reboot.checked);" id="lang_5">Keep VCDs in Virtual Drive when system reboot.</span>
				</fieldset>
				<div style="height:5px;"></div>
				 <div style="display:none">
				  <fieldset style="width:460; padding:10px; padding-top:5px;" align="center">
                <div class="tahoma11pxblack" style="padding-top:5px;" id="lang_6">You can select which page below is first shown on window when starting VirtualDrive</div>
                <div style="float:left; padding-left:15px; padding-top:5px;" class="tahoma11pxblack">
                        <script>
	FealtureList.displayButton();
	</script>
                      </div>
                <div class="tahoma11pxblack" style="float:left; padding-left:5px; padding-top:5px;" onClick="FealtureList.check();" id="lang_7">Fealture List</div>
                <div style="padding-left:150px; float:left; padding-top:5px;" class="tahoma11pxblack">
                        <script>
	VCDLibary.displayButton();
	</script>
                      </div>
                <div class="tahoma11pxblack" style="padding-top:5px; padding-left:5px;" onClick="VCDLibary.check();" id="lang_8">VCD Libary</div>
				<div class="tahoma11pxblack" style="padding-top:3px;">
				Select default page which is first shown on Windows Desktop when langching Virtual Pro
				</div>
				</fieldset>
				</div>
                <div style="padding-top:5px; padding-left:300px;">
                  <button cstyle="rit" onClick="setglobalsetting();" id="saveglobalsetting">Save Setting</button>
                </div>
              </div>
              <div style=" clear:both; width:510px; height:1px; display:none;border-left:1px solid #6075A0;border-right:1px solid #6075A0; margin:0px;"><img src="images/spacer.gif" width="1" height="1" /></div>
              <!--end1-->
                    <div style="background-image:url(fleximages/flex_middle_left.jpg); width:5px; height:22px; float:left;"></div>
              <div onClick="scrollSub('settingPage2',260)" style="width:480px; height:22px; float:left; background-color:#E8F2FE; border-top:1px solid #6075A0; border-bottom:1px solid #6075A0; line-height:20px; font-size:11px; font-family:Tahoma, Arial; font-weight:bold; color:#3D5D8C; padding-left:8px; cursor:pointer;" id="lang_9">VirtualDrive Setting</div>
              <div  style="width:20px; height:22px; float:left; background-color:#E8F2FE; border-top:1px solid #6075A0; border-bottom:1px solid #6075A0; padding-top:4px; line-height:1px; font-size:1px;"> <span onClick="scrollSub('settingPage2',260)" style="cursor:hand;"><img src="fleximages/array_down.jpg" /></span> </div>
              <div style="float:left; clear:right; height:22px; width:5px;background-image:url(fleximages/flex_middle_right.jpg); clear:right;"></div>
              <div  id="settingPage2" style=" display:none;overflow:hidden;clear:left; background-color:#ffffff; width:510px; height:1px;border-left:1px solid #6075A0;border-right:1px solid #6075A0;padding-left:23px; padding-right:23px; padding-top:12px; ">
                      <!--<div class="tahoma11pxblack" id="lang_10"> Select the device of list to rename.Some protected games demand to rename drive in
                        order to get the support of virtual drive</div>
                <div class="tahoma11pxblack" style="float:left; line-height:25px;" id="lang_11">Select the device</div>
                <div id="drop_device" style="float:left;" class="tahoma11pxblack"></div>
                <div id="chk_rename" style="float:left; padding-top:7px; padding-left:10px;" class="tahoma11pxblack"></div>
                <div style="float:left; line-height:25px;" class="tahoma11pxblack" id="lang_12">&nbsp;Rename:</div>
                <div style="padding-top:3px;" class="tahoma11pxblack">
                  <input name="text" type="text" disabled="disabled" id="newname"/>
                </div>-->
                <!--<div id="chk_enablename" class="tahoma11pxblack" style="float:left; "></div>-->
                <!--<div class="tahoma11pxblack" id="Disable_enable" style="line-height:25px;">Disable</div>-->
				<fieldset style="width:460;" align="center"><legend class="tahoma11pxblack">
				<span id="Change_Device">
				Change Device
				</span>
				</legend>
                <div id="chk_changedevice" style="float:left; margin-top:5px;" class="tahoma11pxblack"></div>
                <div style="float:left; width:80px; padding-left:15px; margin-top:10px;" class="tahoma11pxblack" id="lang_14">Manufacturer</div>
                <div style="margin-top:10px;">
                  <input name="text2" type="text" id="Manufacturer" maxlength="8" style="margin-left:10px;" onKeyDown="if(event.keyCode==13)setvd();"/>
                </div>
                <div style="float:left; width:80px; padding-left:15px;" class="tahoma11pxblack" id="lang_15">Product</div>
                <div>
                  <input name="text2" type="text" id="Product" maxlength="16" style="margin-left:10px;" onKeyDown="if(event.keyCode==13)setvd();"/>
                </div>
                <div style="float:left; width:80px; padding-left:15px;" class="tahoma11pxblack" id="lang_16">Model</div>
                <div>
                  <input name="text2" type="text" id="Model" maxlength="4" style="margin-left:10px;" onKeyDown="if(event.keyCode==13)setvd();"/>
                </div>
				</fieldset>
				<fieldset style="width:460; padding:10px;" align="center"><legend class="tahoma11pxblack">
				<span id="autorun">
				Autorun
				</span>
				</legend>
                <!--<div id="chk_autorun" style="float:left; margin-top:5px;" class="tahoma11pxblack"></div>
                <div class="tahoma11pxblack" style="float:left; margin-top:5px;">
                        <script>//OnlytheDevice.displayButton();</script>
                      </div>
                <div class="tahoma11pxblack" style="float:left; margin-top:5px;" onClick="OnlytheDevice.check();" id="lang_18">&nbsp;Only the Device</div>-->
                <div class="tahoma11pxblack" style="float:left; padding-left:30px; margin-top:5px;">
                       
                    </div>
                
				<div id="allvdrun" style="margin-top:5px; float:left;"></div>
				<span class="tahoma11pxblack" style="float:left; margin-top:5px;" id="lang_19"  onClick="allvdrun.setChecked(!allvdrun.checked);">&nbsp;All Virtual Drive</span>
				
				
                <div class="tahoma11pxblack" style="float:left; padding-left:30px; margin-top:5px;">
                       
                    </div>
                <div id="allpdrun" style="margin-top:5px;float:left; "></div>
				<span class="tahoma11pxblack" id="lang_20" style="margin-top:5px;" onClick="allpdrun.setChecked(!allpdrun.checked);">&nbsp;All Physical Drive</span>
				
				
				</fieldset>
                <div style="padding-top:30px; padding-left:300px;">
                  <button cstyle="rit" onClick="setvd();" id="saveVistualDriveSetting">Save Setting</button>
                </div>
              </div>
              <div style="overflow:hidden; clear:left; width:510px; height:1px;border-left:1px solid #6075A0;border-right:1px solid #6075A0;"><img src="images/spacer.gif" width="1" height="1" /></div>
              <!--end1-->
                    <div style="background-image:url(fleximages/flex_middle_left.jpg); width:5px; height:22px; float:left;"></div>
              <div onClick="scrollSub('settingPage3',260)" style="width:480px; height:22px; float:left; background-color:#E8F2FE; border-top:1px solid #6075A0; border-bottom:1px solid #6075A0; line-height:20px; font-size:11px; font-family:Tahoma, Arial; font-weight:bold; color:#3D5D8C; padding-left:8px; cursor:pointer;" id="lang_21">Virtual Hard Drive Setting</div>
              <div  style="width:20px; height:22px; float:left; background-color:#E8F2FE; border-top:1px solid #6075A0; border-bottom:1px solid #6075A0; padding-top:4px; line-height:1px; font-size:1px;"> <span onClick="scrollSub('settingPage3',260)" style="cursor:hand;"><img src="fleximages/array_down.jpg" /></span> </div>
              <div style="float:left; clear:right; height:22px; width:5px;background-image:url(fleximages/flex_middle_right.jpg); clear:right;"></div>
              <div id="settingPage3" style=" overflow:hidden;clear:left; background-color:#ffffff; width:510px; height:1px;border-left:1px solid #6075A0;border-right:1px solid #6075A0;border-bottom:1px solid #6075A0;padding-left:23px; padding-right:23px; padding-top:12px;">
                      <div class="tahoma11pxblack" style="float:left" id="chk_Auto-lond"></div>
                <div class="tahoma11pxblack" onClick="chk_Auto_lond.setChecked(!chk_Auto_lond.checked)" id="lang_22" style="width:175px;">Auto load most recent image</div>
                <div class="tahoma11pxblack" style="float:left; padding-top:10px;" id="chk_Saveimageupenrestart"></div>
                <div class="tahoma11pxblack" style="padding-top:10px;width:200px;" onClick="chk_Saveimageupenrestart.setChecked(!chk_Saveimageupenrestart.checked)" id="lang_23">Save image upen restart or shutdown</div>
                <div class="tahoma11pxblack" style="float:left; padding-top:10px;" id="chk_Saveimageduring"></div>
                <div class="tahoma11pxblack" style="padding-top:10px;width:170px;" onClick="chk_Saveimageduring.setChecked(!chk_Saveimageduring.checked)" id="lang_24">Save image during hibernation</div>
                <div class="tahoma11pxblack" style="float:left; padding-top:10px;" id="chk_backimg"></div>
                <div class="tahoma11pxblack" style="padding-top:10px;width:165px;" onClick="chk_backimg.setChecked(!chk_backimg.checked)" id="lang_25">Back up image before saving it</div>
                <div class="tahoma11pxblack" style="float:left; padding-top:10px;" id="chk_saveimg"></div>
                <div class="tahoma11pxblack" style="float:left; line-height:25x; padding-top:10px;" onClick="chk_Saveimg.setChecked(!chk_Saveimg.checked);" id="lang_26">&nbsp;Save the image every </div>
                <div id="drop_minutes" class="tahoma11pxblack" style="float:left"></div>
                <div class="tahoma11pxblack" style="padding-top:10px;width:80px;" onClick="chk_Saveimg.setChecked(!chk_Saveimg.checked);" id="lang_27">minutes</div>
                <div>&nbsp;</div>
                <div style="padding-top:30px; padding-left:300px;" width="300">
                  <button cstyle="rit" onClick="setVHD();" id="savepage3"><nobr>Save Setting</nobr></button>
                </div>
              </div>
              <div style="overflow:hidden; clear:left; width:510px; height:1px; display:none;border-left:1px solid #6075A0;border-right:1px solid #6075A0; border-bottom:1px solid #6075A0;"><img src="images/spacer.gif" width="1" height="1" /></div>
              <!--<img src="img/Main_Setting_03.jpg" width="508" height="342">--></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<script language="javascript">
//////////////////////////////////////////////////script for flex box
globalset.initVIVOcX(window.external.GetProductID());
var currentOpenedId="settingPage1";
var isAppending=false;
var paddingBar

function scrollSub(subId,height)
{
	if (subId==currentOpenedId)
	{
		return;
	}
	if (isAppending==true)
	{
		return;
	}
	isAppending=true;
	var subNode=document.getElementById(subId);

	setTimeout(scUpAndDown(document.getElementById(currentOpenedId),subNode,height,true,true),30);
	
	currentOpenedId=subId;
}

function scUpAndDown(upNode,downNode,height,bool_a,bool_b)
{
	return function()
	{
		var isexit=false;
		if (bool_a)
		{
			var a=scUPfunction(upNode);
			var isend_a=a();
			isexit=isexit || isend_a;
		}
		if (bool_b)
		{
			var b=scDOWNfunction(downNode,height);

⌨️ 快捷键说明

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