slide0040.htm
来自「可作为课程设计或者毕业设计 也可以作为学校精品课程网站使用」· HTM 代码 · 共 120 行
HTM
120 行
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:p="urn:schemas-microsoft-com:office:powerpoint"
xmlns:oa="urn:schemas-microsoft-com:office:activation"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=ProgId content=PowerPoint.Slide>
<meta name=Generator content="Microsoft PowerPoint 11">
<link id=Main-File rel=Main-File href="../z12.htm">
<link rel=Preview href=preview.wmf>
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
p\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
v\:textbox {display:none;}
</style>
<![endif]-->
<title>第十二章
响应鼠标和键盘事件</title>
<meta name=Description content=2008-3-24>
<link rel=Stylesheet href="master08_stylesheet.css">
<![if !ppt]>
<style media=print>
<!--.sld
{left:0px !important;
width:6.0in !important;
height:4.5in !important;
font-size:107% !important;}
-->
</style>
<script src=script.js></script><script><!--
if( !IsNts() ) Redirect( "PPTSld" );
//--></script><!--[if vml]><script>g_vml = 1;
</script><![endif]--><![endif]><o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="58"/>
</o:shapelayout>
</head>
<body lang=ZH-CN style='margin:0px;background-color:black'
onclick="DocumentOnClick()" onresize="_RSW()" onload="LoadSld()"
onkeypress="_KPH()">
<div id=SlideObj class=sld style='position:absolute;top:0px;left:0px;
width:534px;height:400px;font-size:16px;background-color:#E3DDBB;background-image:
url("master08_image001.jpg");clip:rect(0%, 101%, 101%, 0%);visibility:hidden'><p:slide
coordsize="720,540"
colors="#ffffff,#000000,#808080,#482400,#dfd6c3,#d69b80,#993300,#666600"
masterhref="master08.xml">
<p:shaperange href="master08.xml#_x0000_s70657"/><![if !ppt]><p:shaperange
href="master08.xml#_x0000_s70658"/><![if !vml]><img border=0
v:shapes="_x0000_s70658" src="master08_image003.jpg" style='position:absolute;
top:0%;left:0%;width:7.49%;height:100.0%'><![endif]><p:shaperange
href="master08.xml#_x0000_s70660"/><p:shaperange
href="master08.xml#_x0000_s70661"/><![endif]><v:shape id="_x0000_s58376"
type="#_x0000_t75" style='position:absolute;left:0;top:0;width:10in;height:324pt;
mso-wrap-style:none;mso-wrap-distance-left:0;mso-wrap-distance-right:0'
fillcolor="#dfd6c3 [4]" strokecolor="black [1]">
<v:imagedata src="slide0040_image019.png" o:title="" croptop="30948f"
cropbottom="16470f" cropleft="17695f" cropright="18350f"/>
<v:shadow color="gray [2]"/>
</v:shape><![if !vml]><img border=0 v:shapes="_x0000_s58376"
src="slide0040_image020.jpg" style='position:absolute;top:0%;left:0%;
width:100.0%;height:60.0%'><![endif]><v:shapetype id="_x0000_t202"
coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe">
<v:stroke joinstyle="miter"/>
<v:path gradientshapeok="t" o:connecttype="rect"/>
</v:shapetype><v:shape id="_x0000_s58377" type="#_x0000_t202" style='position:absolute;
left:54pt;top:342pt;width:9in;height:151.25pt;mso-wrap-distance-left:0;
mso-wrap-distance-right:0' filled="f" fillcolor="#dfd6c3 [4]" stroked="f"
strokecolor="black [1]">
<v:shadow color="gray [2]"/>
<v:textbox style='mso-fit-shape-to-text:t'/>
</v:shape>
<div v:shape="_x0000_s58377" class=O style='text-align:justify;mso-line-spacing:
"125 50 0";position:absolute;top:65.5%;left:8.42%;width:88.2%;height:25.25%'><span
lang=EN-US style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:"Arial Unicode MS";mso-fareast-language:ZH-CN'><b>keycode
</b></span><span style='font-family:SimSun;mso-ascii-font-family:SimSun;
mso-fareast-font-family:SimSun'><b>参数通过</b></span><span
style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:"Arial Unicode MS"'><b> ASCII </b></span><span
style='font-family:SimSun;mso-ascii-font-family:SimSun;mso-fareast-font-family:
SimSun'><b>值或键代码常数来识别键。字母键的键代码与此字母的大写字符的</b></span><span
style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:"Arial Unicode MS"'><b> ASCII </b></span><span
style='font-family:SimSun;mso-ascii-font-family:SimSun;mso-fareast-font-family:
SimSun'><b>值相同。所以</b></span><span
style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:"Arial Unicode MS"'><b> "A" </b></span><span
style='font-family:SimSun;mso-ascii-font-family:SimSun;mso-fareast-font-family:
SimSun'><b>和</b></span><span style='font-family:"Times New Roman";
mso-ascii-font-family:"Times New Roman";mso-fareast-font-family:"Arial Unicode MS"'><b>
"a" </b></span><span style='font-family:SimSun;mso-ascii-font-family:
SimSun;mso-fareast-font-family:SimSun'><b>的</b></span><span
style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:"Arial Unicode MS"'><b> keycode </b></span><span
style='font-family:SimSun;mso-ascii-font-family:SimSun;mso-fareast-font-family:
SimSun'><b>都是由</b></span><span style='font-family:"Times New Roman";
mso-ascii-font-family:"Times New Roman";mso-fareast-font-family:"Arial Unicode MS"'><b>
Asc("A") </b></span><span style='font-family:SimSun;mso-ascii-font-family:
SimSun;mso-fareast-font-family:SimSun'><b>返回的数值。在下例中用</b></span><span
style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:"Arial Unicode MS"'><b> KeyDown </b></span><span
style='font-family:SimSun;mso-ascii-font-family:SimSun;mso-fareast-font-family:
SimSun'><b>事件判断是否按下了</b></span><span
style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:"Arial Unicode MS"'><b> "A" </b></span><span
style='font-family:SimSun;mso-ascii-font-family:SimSun;mso-fareast-font-family:
SimSun'><b>键:</b></span><span style='font-family:SimSun;
mso-fareast-font-family:SimSun;mso-special-format:lastCR;display:none'><b> </b></span></div>
</p:slide></div>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?