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

📄 c++ builder 程序设计实用教程 - 9_1_2 剪贴板类 - 张晋 - 17xie.htm

📁 已经消失的不易找到的C++ builder网络教程总结
💻 HTM
📖 第 1 页 / 共 4 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0044)http://www.17xie.com/read.php?bid=303&seq=92 -->
<HTML xmlns:st1 = "urn:schemas-microsoft-com:office:smarttags" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office"><HEAD><TITLE>C++ Builder 程序设计实用教程 - 9.1.2 剪贴板类 - 张晋 - 17xie</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK 
href="C++ Builder 程序设计实用教程 - 9_1_2 剪贴板类 - 张晋 - 17xie.files/17xie.css" 
type=text/css rel=stylesheet><LINK 
href="C++ Builder 程序设计实用教程 - 9_1_2 剪贴板类 - 张晋 - 17xie.files/read.css" 
type=text/css rel=stylesheet>
<SCRIPT src="C++ Builder 程序设计实用教程 - 9_1_2 剪贴板类 - 张晋 - 17xie.files/core.js" 
type=text/javascript></SCRIPT>

<SCRIPT src="C++ Builder 程序设计实用教程 - 9_1_2 剪贴板类 - 张晋 - 17xie.files/iframe.js" 
type=text/javascript></SCRIPT>

<SCRIPT src="C++ Builder 程序设计实用教程 - 9_1_2 剪贴板类 - 张晋 - 17xie.files/dialog.js" 
type=text/javascript></SCRIPT>

<SCRIPT src="C++ Builder 程序设计实用教程 - 9_1_2 剪贴板类 - 张晋 - 17xie.files/ajax.js" 
type=text/javascript></SCRIPT>

<SCRIPT src="C++ Builder 程序设计实用教程 - 9_1_2 剪贴板类 - 张晋 - 17xie.files/cookie.js" 
type=text/javascript></SCRIPT>

<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV id=m-body>
<DIV id=read-top>
<DIV style="FLOAT: left"><A href="http://www.17xie.com/" target=_blank><IMG 
src="C++ Builder 程序设计实用教程 - 9_1_2 剪贴板类 - 张晋 - 17xie.files/booklogo.gif"></A></DIV>
<DIV id=read-menu><NOBR><A 
onclick="APIframe.open('快速登录','/m/user/poplogin.php',400,160)" 
href="javascript:void(0)">登录</A> <A 
onclick="APIframe.open('17xie-快速注册','/m/user/reg.php',480,460)" 
href="javascript:void(0)">注册</A> | <A href="http://www.17xie.com/" 
target=_blank>首页</A> <A href="http://www.17xie.com/bbs/index.php?ishow=y" 
target=_blank>论坛</A> <A href="http://www.17xie.com/user.php" 
target=_blank>会员中心</A> <A href="http://www.17xie.com/help/" 
target=_blank>帮助</A></NOBR></DIV></DIV>
<DIV id=read-title>
<DIV 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><A 
href="http://www.17xie.com/" target=_blank>17xie</A> &gt; <A 
href="http://www.17xie.com/book.php?bid=303">C++ Builder 程序设计实用教程</A> &gt; 9.1.2 
剪贴板类</DIV>
<DIV 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: right; PADDING-BOTTOM: 0px; PADDING-TOP: 4px"><INPUT class=button-red8 onclick="window.location.href='/m/book/write.php?pid=13713'" type=button value=点击编辑本页></DIV></DIV>
<DIV id=read-mpage>
<DIV 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 8px; PADDING-TOP: 8px">背景: 
<SPAN class=chcolor style="BACKGROUND-COLOR: #eeeeff" 
onclick="chcolor('#eeeeff')">&nbsp;&nbsp;</SPAN> <SPAN class=chcolor 
style="BACKGROUND-COLOR: #ffeeee" 
onclick="chcolor('#ffeeee')">&nbsp;&nbsp;</SPAN> <SPAN class=chcolor 
style="BACKGROUND-COLOR: #eeffee" 
onclick="chcolor('#eeffee')">&nbsp;&nbsp;</SPAN> <SPAN class=chcolor 
style="BACKGROUND-COLOR: #ffffee" 
onclick="chcolor('#ffffee')">&nbsp;&nbsp;</SPAN> <SPAN class=chcolor 
style="BACKGROUND-COLOR: #eeeeee" 
onclick="chcolor('#eeeeee')">&nbsp;&nbsp;</SPAN> <SPAN class=chcolor 
style="BACKGROUND-COLOR: #ffffff" 
onclick="chcolor('#ffffff')">&nbsp;&nbsp;</SPAN> </DIV>
<DIV 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: right; PADDING-BOTTOM: 0px; PADDING-TOP: 3px">
<TABLE>
  <TBODY>
  <TR>
    <TD><NOBR><SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=1'">|&lt;</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=91'">上一页</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=89'">89</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=90'">90</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=91'">91</SPAN> 
      <SPAN class=page-here 
      onclick="window.location.href='/read.php?bid=303&amp;seq=92'">92</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=93'">93</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=94'">94</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=95'">95</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=93'">下一页</SPAN> 
      <SPAN class=page-nor 
      onclick="window.location.href='/read.php?bid=303&amp;seq=105'">&gt;|</SPAN></NOBR>.</TD>
    <TD><INPUT class=input-text 
      onkeydown='if(window.event.keyCode==13)window.location.href="/read.php?bid=303&amp;seq="+this.value' 
      style="WIDTH: 25px"></TD>
    <TD style="PADDING-TOP: 2px">[共105页]</TD></TR></TBODY></TABLE></DIV></DIV>
<DIV id=read-conts style="BACKGROUND-COLOR: #ffffff"><SPAN 
style="FONT-SIZE: 12px">本页字数:1500&nbsp;&nbsp;&nbsp;&nbsp;最后更新:<NOBR>6天以前</NOBR> 
<NOBR>[12-06 14:56]</NOBR> 由 <A onclick='$showu(1271,"张晋")' 
href="javascript:void(0)">张晋</A> 编辑&nbsp;&nbsp;&nbsp;&nbsp;<A class=aline 
style="COLOR: red" href="http://www.17xie.com/m/user/inviter_reg.php" 
target=_blank>注册17xie 一起来写书 实现您的出书梦想!</A></SPAN> 
<HR>

<CENTER>
<DIV style="WIDTH: 547px; TEXT-ALIGN: left">
<H3 style="MARGIN: 15pt 0cm 0pt"><A name=_Toc502915476></A><FONT size=3><FONT 
face="Times New Roman"><st1:chsdate Year="1899" Month="12" Day="30" 
IsLunarDate="False" IsROCDate="False" w:st="on"><SPAN 
style="mso-bookmark: _Toc502915476"><SPAN 
lang=EN-US>9.1.2</SPAN></SPAN></st1:chsdate><SPAN 
style="mso-bookmark: _Toc502915476"><SPAN lang=EN-US><SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></SPAN></FONT><SPAN 
style="mso-bookmark: _Toc502915476"><SPAN 
style="FONT-FAMILY: 黑体; mso-ascii-font-family: 'Times New Roman'">剪贴板类</SPAN></SPAN></FONT></H3>
<P class=MsoNormalIndent style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">为方便剪贴板的操作,</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">CBuilder 5</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">在</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">Clipbrd</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">库单元中定义了一个</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">TClipboard</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">类,并且预定义了一个变量</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">Clipboard</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">作为类</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">TClipboard</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的实例,从而使用户在绝大多数场合不必自己去定义一个</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">TClipboard</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的实例。</SPAN></P>
<P class=MsoNormalIndent style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">利用剪贴板类可以进行文本、图像和部件的传输,剪贴板类为实现这些方法提供了相应的属性和方法。表</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">9-2</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、表</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">9-3</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">列出了</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">TClipboard</FONT></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">属性和方法的意义。</SPAN></P>
<P class=a style="MARGIN: 6pt 0cm 4pt"><FONT size=2><SPAN 
style="FONT-FAMILY: 黑体; mso-ascii-font-family: 'Times New Roman'">表</SPAN><SPAN 
lang=EN-US><FONT face="Times New Roman">9-2 <SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN>TClipboard</FONT></SPAN><SPAN 
style="FONT-FAMILY: 黑体; mso-ascii-font-family: 'Times New Roman'">的属性</SPAN></FONT></P>
<P>
<TABLE class=MsoNormalTable 
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; MARGIN: auto auto auto 10.65pt; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-border-bottom-alt: solid green 1.5pt; mso-table-layout-alt: fixed; mso-border-top-alt: solid green 1.5pt; mso-yfti-tbllook: 191; mso-border-insideh: cell-none; mso-border-insidev: cell-none" 
cellSpacing=0 cellPadding=0 border=1>
  <TBODY>
  <TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes">
    <TD 
    style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; BORDER-LEFT-COLOR: #ece9d8; PADDING-BOTTOM: 0cm; WIDTH: 110.25pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-bottom-alt: solid windowtext 1.0pt; mso-border-top-alt: solid windowtext 1.0pt; mso-border-right-alt: solid windowtext .5pt" 
    vAlign=top width=147>
      <P class=a1 style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" 
      align=center><SPAN lang=EN-US><SPAN 
      style="POSITION: relative; TOP: 5pt; mso-text-raise: -5.0pt"><v:shapetype 
      id=_x0000_t75 coordsize="21600,21600" o:spt="75" o:preferrelative="t" 
      path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:stroke 
      joinstyle="miter"></v:stroke><v:formulas><v:f 
      eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f 
      eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f 
      eqn="prod @3 21600 pixelWidth"></v:f><v:f 
      eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f 
      eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f 
      eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f 
      eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" 
      gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" 
      aspectratio="t"></o:lock></v:shapetype><v:shape id=_x0000_i1025 

⌨️ 快捷键说明

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