亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ch13.htm

?? Learning language of Visual C++6
?? HTM
?? 第 1 頁 / 共 3 頁
字號:

<P><A HREF="javascript:popUp('13uvc03.gif')"><B>FIG. 13.3</B></A><B> </B><I>A Microsoft
Word document can contain a link to an Excel file.</I></P>

<P><A HREF="javascript:popUp('13uvc04.gif')"><B>FIG. 13.4</B></A><B> </B><I>Double-clicking
a linked object launches the application that created it.</I></P>

<P>You link files into your documents if you plan to use the same file in many documents
and contexts, because your changes to that file are automatically reflected everywhere
that you have linked it. Linking doesn't increase the size of your document files
dramatically because only the location of the file and a little bit of presentation
information needs to be kept in your document.</P>
<P>
<H2><A NAME="Heading3"></A>Object Embedding</H2>
<P>Embedding is similar to linking, but a copy of the object is made and placed into
your document. If you change the original, the changes aren't reflected in your document.
You can't tell by looking whether the Excel chart you see in your Word document is
linked or embedded. Figure 13.5 shows a spreadsheet embedded within a Word document.</P>
<P><A HREF="javascript:popUp('13uvc05.gif')"><B>FIG. 13.5</B></A><B> </B><I>A file
embedded within another file looks just like a linked file.</I></P>

<P>Follow these steps to create a similar document yourself:</P>
<P>

<DL>
	<DD><B>1. </B>Start Word and enter your text.
	<P>
	<DT></DT>
	<DD><B>2. </B>Click where you want the table to go.
	<P>
	<DT></DT>
	<DD><B>3. </B>Choose Insert, Object.
	<P>
	<DT></DT>
	<DD><B>4. </B>Select the Create from File tab.
	<P>
	<DT></DT>
	<DD><B>5. </B>Enter or select the filename as though this were a File Open dialog
	box.
	<P>
	<DT></DT>
	<DD><B>6. </B>Do not check the Link to File box.
	<P>
	<DT></DT>
	<DD><B>7.</B> Click OK.
	<P>
</DL>

<P>What's the difference? You'll see when you double-click the object to edit it.
The Word menus and toolbars disappear and are replaced with their Excel equivalents,
as shown in Figure 13.6. Changes you make here aren't made in the file you originally
embedded. They are made in the copy of that file that has become part of your Word
document.</P>
<P><A HREF="javascript:popUp('13uvc06.gif')"><B>FIG. 13.6</B></A><B> </B><I>Editing
in place is the magic of OLE embedding.</I></P>

<P>You embed files into your documents if you plan to build a compound document and
then use it as a self-contained whole, without using the individual parts again.
Changes you make don't affect any other files on your disk, not even the one you
copied from in the first place. Embedding makes your document much larger than it
was, but you can delete the original if space is a problem.</P>
<P>
<H2><A NAME="Heading4"></A>Containers and Servers</H2>
<P>To embed or link one object into another, you need a <I>container</I> and a <I>server</I>.
The container is the application into which the object is linked or embedded--Word
in these examples. The server is the application that made them, and that can be
launched (perhaps in place) when the object is double-clicked--Excel in these examples.</P>
<P>Why would you develop a container application? To save yourself work. Imagine
you have a product already developed and in the hands of your users. It does a specific
task like organize a sales team, schedule games in a league sport, or calculate life
insurance rates. Then your users tell you that they wish it had a spreadsheet capability
so they could do small calculations on-the-fly. How long will it take you to add
that functionality? Do you really have time to learn how spreadsheet programs parse
the functions that users type?</P>
<P>If your application is a container app, it doesn't take any time at all. Tell
your users to link or embed in an Excel sheet and let Excel do the work. If they
don't own a copy of Excel, they need some spreadsheet application that can be an
ActiveX server. You get to piggyback on the effort of other developers.</P>
<P>It's not just spreadsheets, either. What if users want a scratch pad, a place
to scribble a few notes? Let them embed a Word document. (What about bitmaps and
other illustrations? Microsoft Paint, or a more powerful graphics package if they
have one, and it can act as an ActiveX server.) You don't have to concern yourself
with adding functionality like this to your programs because you can just make your
application a container and your users can embed whatever they want without any more
work on your part.</P>
<P>Why would you develop a server application, then? Look back over the reasons for
writing a container application. A lot of users are going to contact developers asking
for a feature to be added, and be told they can have that feature immediately--they
just need an application that does spreadsheets, text, pictures, or whatever, and
can act as an ActiveX server. If your application is an ActiveX server, people will
buy it so that they can add its functionality to their container apps.</P>
<P>Together, container and server apps enable users to build the documents they want.
They represent a move toward building-block software and a document-centered approach
to work. If you want your application to carry the Windows 95 logo, it must be a
server, a container, or both. But there is much more to ActiveX than linking and
embedding.</P>
<P>
<H2><A NAME="Heading5"></A>Toward a More Intuitive User Interface</H2>
<P>What if the object you want to embed is not in a file but is part of a document
you have open at the moment? You may have already discovered that you can use the
Clipboard to transfer ActiveX objects. For example, to embed part of an Excel spreadsheet
into a Word document, you can follow these steps:</P>
<P>

<DL>
	<DD><B>1. </B>Open the spreadsheet in Excel.
	<P>
	<DT></DT>
	<DD><B>2. </B>Open the document in Word.
	<P>
	<DT></DT>
	<DD><B>3. </B>In Excel, select the portion you want to copy.
	<P>
	<DT></DT>
	<DD><B>4. </B>Choose Edit, Copy to copy the block onto the Clipboard.
	<P>
	<DT></DT>
	<DD><B>5. </B>Switch to Word and choose Edit, Paste Special.
	<P>
	<DT></DT>
	<DD><B>6. </B>Select the Paste radio button.
	<P>
	<DT></DT>
	<DD><B>7. </B>Select Microsoft Excel Worksheet Object from the list box.
	<P>
	<DT></DT>
	<DD><B>8. </B>Make sure that Display as Icon is not selected.
	<P>
	<DT></DT>
	<DD><B>9.</B> The dialog box should look like Figure 13.7. Click OK.
</DL>

<P>A copy of the block is now embedded into the document. If you choose Paste Link,
changes in the spreadsheet are reflected immediately in the Word document, not just
when you save them. (You might have to click the selection in Word to update it.)
This is true even if the spreadsheet has no name and has never been saved. Try it
yourself! This is certainly better than saving dummy files just to embed them into
compound documents and then deleting them, isn't it?</P>

<P><A HREF="javascript:popUp('13uvc07.gif')"><B>FIG. 13.7</B></A><B> </B><I>The Paste
Special dialog box is used to link or embed selected portions of a document.</I></P>

<P>Another way to embed part of a document into another is drag and drop. This is
a user- interface paradigm that works in a variety of contexts. You click something
(an icon, a highlighted block of text, a selection in a list box) and hold the mouse
button down while moving it. The item you clicked moves with the mouse, and when
you let go of the mouse button, it drops to the new location. That's very intuitive
for moving or resizing windows, but now you can use it to do much, much more. For
example, here's how that Excel-in-Word example would be done with drag and drop:</P>
<P>

<DL>
	<DD><B>1. </B>Open Word and size it to less than full screen.
	<P>
	<DT></DT>
	<DD><B>2. </B>Open Excel and size it to less than full screen. If you can arrange
	the Word and Excel windows so they don't overlap, that's great.
	<P>
	<DT></DT>
	<DD><B>3. </B>In Excel, select the portion you want to copy by highlighting it with
	the mouse or cursor keys.
	<P>
	<DT></DT>
	<DD><B>4. </B>Click the border of the selected area (the thick black line) and hold.
	<P>
	<DT></DT>
	<DD><B>5. </B>Drag the block into the Word window and let go.
	<P>
</DL>

<P>The selected block is embedded into the Word document. If you double-click it,
you are editing in place with Excel. Drag and drop also works within a document to
move or copy a selection.</P>


<BLOCKQUOTE>
	<P>
<HR>
<strong>TIP:</strong> The block is moved by default, which means it is deleted from the
	Excel sheet. If you want a copy, hold down the Ctrl key while dragging, and release
	the mouse button before the Ctrl key.
<HR>


</BLOCKQUOTE>

<P>You can also use drag and drop with icons. On your desktop, if you drag a file
to a folder, it is moved there. (Hold down Ctrl while dragging to copy it.) If you
drag it to a program icon, it is opened with that program. This is very useful when
you have a document you use with two applications. For example, pages on the World
Wide Web are HTML documents, often created with an HTML editor but viewed with a
World Wide Web browser such as Netscape Navigator or Microsoft Internet Explorer.
If you double-click an HTML document icon, your browser is launched to view it. If
you drag that icon onto the icon for your HTML editor, the editor is launched and
opens the file you dragged. After you realize you can do this, you will find your
work speeds up dramatically.</P>
<P>All of this is ActiveX, and all of this requires a little bit of work from programmers
to make it happen. So what's going on?</P>
<P>
<H2><A NAME="Heading6"></A>The Component Object Model</H2>
<P>The heart of ActiveX is the Component Object Model (COM). This is an incredibly
complex topic that deserves a book of its own. Luckily, the Microsoft Foundation

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区视频在线| 久久99国产精品久久| 精品国产91洋老外米糕| 欧美日韩国产区一| 欧美日韩久久一区二区| 欧美性大战久久久久久久蜜臀| 色综合天天综合色综合av| 99国产精品视频免费观看| 91啪亚洲精品| 欧美日韩中文国产| 欧美一区二区三区四区视频| 91精品国产一区二区三区| 精品噜噜噜噜久久久久久久久试看 | 国内偷窥港台综合视频在线播放| 日本欧美肥老太交大片| 麻豆精品一区二区| 国产成人鲁色资源国产91色综 | 一区二区三区鲁丝不卡| 日韩影院精彩在线| 国产成人小视频| 91行情网站电视在线观看高清版| 欧美色爱综合网| 久久在线观看免费| 亚洲精品国产a| 美女免费视频一区二区| 成人黄色国产精品网站大全在线免费观看| www.亚洲在线| 欧美精品123区| 欧美国产精品劲爆| 午夜国产精品一区| 国产成人精品影视| 欧美日韩小视频| 国产亚洲制服色| 亚洲成年人影院| 国v精品久久久网| 欧美久久一二三四区| 国产清纯美女被跳蛋高潮一区二区久久w| 国产精品久久久久久久午夜片| 亚洲午夜久久久久中文字幕久| 九九热在线视频观看这里只有精品| 成人在线一区二区三区| 欧美欧美欧美欧美| 国产精品卡一卡二卡三| 紧缚奴在线一区二区三区| 91精品1区2区| 国产精品久久毛片| 另类成人小视频在线| 欧美在线观看一二区| 久久久国产精华| 青娱乐精品在线视频| 欧美网站大全在线观看| 国产精品乱人伦| 久久er精品视频| 欧美精品自拍偷拍动漫精品| 亚洲视频免费在线| 国产99精品国产| 精品国产一区二区精华| 日韩精品高清不卡| 欧美性淫爽ww久久久久无| 亚洲另类在线制服丝袜| 成人免费视频视频在线观看免费| 日韩美女视频在线| 日本一区中文字幕| 91精品国产综合久久精品性色| 中文字幕在线观看不卡| 成人av中文字幕| 日本一区二区三区在线不卡| 国产精品一二三区| 久久精品亚洲乱码伦伦中文| 韩日欧美一区二区三区| 欧美精品一区二区三区很污很色的 | 日韩av电影天堂| 欧美精品日韩一本| 日韩有码一区二区三区| 日韩一区二区三区在线视频| 日韩黄色一级片| 欧美一区二区三区思思人| 日韩精品亚洲一区| 欧美第一区第二区| 精品系列免费在线观看| 国产亚洲婷婷免费| www.亚洲精品| 亚洲欧美日韩一区二区三区在线观看| av一本久道久久综合久久鬼色| 欧美国产日韩在线观看| 成人97人人超碰人人99| 综合久久给合久久狠狠狠97色| 不卡一区二区在线| 亚洲日本韩国一区| 欧日韩精品视频| 免费欧美高清视频| 久久久午夜精品| 99国产麻豆精品| 日韩精品亚洲一区| 久久九九久久九九| 日本电影欧美片| 日本成人在线一区| 国产精品视频线看| 色爱区综合激月婷婷| 男男gaygay亚洲| 久久精品一二三| 91精品福利视频| 九色综合国产一区二区三区| 国产亚洲精久久久久久| 日本高清成人免费播放| 日韩高清一级片| 国产精品麻豆一区二区| 欧美人牲a欧美精品| 国产一区二三区好的| 亚洲欧洲综合另类在线| 精品国产伦一区二区三区观看方式 | 欧美大片一区二区三区| 懂色av一区二区三区免费观看| 亚洲视频一区在线| 日韩视频一区二区三区在线播放 | 一区二区三区精品视频| 日韩欧美久久久| 色天天综合色天天久久| 国内精品久久久久影院色| 亚洲裸体xxx| 久久久久国产免费免费| 欧美日韩国产美女| av中文字幕不卡| 精品在线免费视频| 香蕉久久一区二区不卡无毒影院 | 欧美日产国产精品| caoporn国产一区二区| 久草在线在线精品观看| 亚洲亚洲精品在线观看| 国产精品家庭影院| 精品国产免费一区二区三区香蕉| 在线看一区二区| av网站一区二区三区| 国内精品国产三级国产a久久 | 国产精品66部| 免费看精品久久片| 亚洲黄色小视频| 久久欧美中文字幕| 91麻豆精品国产| 欧美吻胸吃奶大尺度电影| 99国产精品一区| 91丨porny丨最新| 菠萝蜜视频在线观看一区| 国产乱人伦偷精品视频不卡| 蜜臀av亚洲一区中文字幕| 亚洲国产三级在线| 一区二区三区在线观看网站| 在线观看欧美黄色| 91欧美激情一区二区三区成人| 看电视剧不卡顿的网站| 亚洲va欧美va人人爽| 99精品一区二区三区| 不卡一区二区在线| 不卡在线视频中文字幕| 国产精品中文字幕欧美| 韩国成人福利片在线播放| 久久成人免费日本黄色| 极品少妇xxxx精品少妇偷拍 | 亚洲高清久久久| 亚洲国产wwwccc36天堂| 亚洲成人av一区| 日本系列欧美系列| 国产中文字幕精品| 国产成人在线视频播放| 97久久精品人人爽人人爽蜜臀| 99久久亚洲一区二区三区青草| 99久久免费精品| 欧美三区免费完整视频在线观看| 欧美精品一级二级| 精品国偷自产国产一区| 国产日产精品1区| 亚洲欧美色一区| 秋霞电影一区二区| 国产69精品久久久久毛片| 91在线视频网址| 3751色影院一区二区三区| 久久久久久久久久久久电影| 国产人伦精品一区二区| 亚洲免费观看高清完整版在线观看熊 | 亚洲欧美日韩一区| 日韩黄色在线观看| 黄色成人免费在线| 97久久久精品综合88久久| 欧美日韩美女一区二区| 久久综合99re88久久爱| 亚洲欧美成人一区二区三区| 三级一区在线视频先锋| 国产suv一区二区三区88区| 欧美午夜在线一二页| 国产亚洲美州欧州综合国| 亚洲国产中文字幕在线视频综合 | 亚洲欧美韩国综合色| 美女网站视频久久| 色综合久久综合| 久久欧美一区二区| 午夜视频一区二区| 99久久免费视频.com| 91精品欧美久久久久久动漫 | 日韩专区欧美专区| 99热这里都是精品|