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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ch09.htm

?? /// //Visual C++ 6.0 21天自學(xué)教程
?? HTM
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>

<HEAD>
	<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
<SCRIPT LANGUAGE="JavaScript">

<!--

function popUp(pPage) {
 var fullURL = document.location;
 var textURL = fullURL.toString();
 var URLlen = textURL.length;
 var lenMinusPage = textURL.lastIndexOf("/");
 lenMinusPage += 1;
 var fullPath = textURL.substring(0,lenMinusPage);
 popUpWin = window.open('','popWin','resizable=yes,scrollbars=no,width=525,height=394');
 figDoc= popUpWin.document;
 zhtm= '<HTML><HEAD><TITLE>' + pPage + '</TITLE>';
 zhtm += '</head>';
 zhtm += '<BODY bgcolor="#FFFFFF">
<!-- Spidersoft WebZIP Ad Banner Insert -->
<TABLE width=100% border="0" cellpadding="0" cellspacing="0">
<TR>
<TD>
<ILAYER id=ad1 visibility=hidden height=60></ILAYER>
<NOLAYER>
<IFRAME SRC="http://www.spidersoft.com/ads/bwz468_60.htm" width="100%" height="60" marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></IFRAME>
</NOLAYER>
</TD>
</TR>
</TABLE>
<!-- End of Spidersoft WebZIP Ad Banner Insert-->
';
 zhtm += '<IMG SRC="' + fullPath + pPage + '">';
 zhtm += '<P><B>' + pPage + '</B>';
 zhtm += '
<layer src="http://www.spidersoft.com/ads/bwz468_60.htm" visibility=hidden id=a1 width=600 onload="moveToAbsolute(ad1.pageX,ad1.pageY); a1.clip.height=60;visibility='show';"></layer>
</BODY></HTML>';
 window.popUpWin.document.write(zhtm);
 window.popUpWin.document.close();
 // Johnny Jackson 4/28/98
 }

//-->
                                                                
</SCRIPT>
<link rel="stylesheet" href="../../../../includes/stylesheets/ebooks.css">

	<META NAME="GENERATOR" Content="Symantec Visual Page Mac 1.1.1">
	<TITLE>Teach Yourself Visual C++ 6 in 21 Days -- Ch 9 -- Adding ActiveX Controls to Your Application88</TITLE>
</HEAD>

<BODY TEXT="#000000" BGCOLOR="#FFFFFF">

<H1 ALIGN="CENTER"><IMG SRC="../button/sams.gif" WIDTH="171" HEIGHT="66" ALIGN="BOTTOM"
BORDER="0"><BR>
Teach Yourself Visual C++ 6 in 21 Days</H1>
<CENTER>
<P><A HREF="../ch08/ch08.htm"><IMG SRC="../button/previous.gif" WIDTH="128" HEIGHT="28"
ALIGN="BOTTOM" ALT="Previous chapter" BORDER="0"></A><A HREF="../ch10/ch10.htm"><IMG
SRC="../button/next.gif" WIDTH="128" HEIGHT="28" ALIGN="BOTTOM" ALT="Next chapter"
BORDER="0"></A><A HREF="../index.htm"><IMG SRC="../button/contents.gif" WIDTH="128"
HEIGHT="28" ALIGN="BOTTOM" ALT="Contents" BORDER="0"></A> 
<HR>

</CENTER>
<H1 ALIGN="CENTER">- 9 -<BR>
Adding ActiveX Controls to Your Application</H1>
<H1></H1>

<UL>
	<LI><A HREF="#Heading1">What Is an ActiveX Control?</A>
	<UL>
		<LI><A HREF="#Heading2">ActiveX and the IDispatch Interface</A>
		<LI><A HREF="#Heading3">ActiveX Containers and Servers</A>
	</UL>
	<LI><A HREF="#Heading4">Adding an ActiveX Control to Your Project</A>
	<UL>
		<LI><A HREF="#Heading5">Registering the Control</A>
		<LI><A HREF="#Heading6">Adding the Control to Your Dialog</A>
	</UL>
	<LI><A HREF="#Heading7">Using an ActiveX Control in Your Application</A>
	<UL>
		<LI><A HREF="#Heading8">Interacting with the Control</A>
		<LI><A HREF="#Heading9">Responding to Control Events</A>
	</UL>
	<LI><A HREF="#Heading10">Summary</A>
	<LI><A HREF="#Heading11">Q&amp;A</A>
	<LI><A HREF="#Heading12">Workshop</A>
	<UL>
		<LI><A HREF="#Heading13">Quiz</A>
		<LI><A HREF="#Heading14">Exercise</A>
	</UL>
</UL>

<P>
<HR SIZE="4">
<BR>
In today's application develop market, there are thousands of prebuilt components
that you can plug into your applications, extending the functionality of your applications
instantaneously. Originally the domain of Visual Basic programmers, now you can use
readily available ActiveX controls with just about any Windows programming language,
including Visual C++. Today you will learn how you can add ActiveX controls to your
Visual C++ applications, taking advantage of their existing functionality. Some of
the topics that you will cover today are</P>

<P>

<UL>
	<LI>What ActiveX controls are and how they work.
	<P>
	<LI>How you can add ActiveX controls to your project workspace.
	<P>
	<LI>How you can use the ActiveX control in your Visual C++ application.
	<P>
	<LI>How to call the various methods associated with the ActiveX control.
	<P>
	<LI>How to handle events that are triggered by the ActiveX control.
</UL>

<H2><A NAME="Heading1"></A>What Is an ActiveX Control?</H2>
<P>An ActiveX control is a software component that can be plugged into many different
programs and used as if it were a native part of the program. It's similar to the
concept of separate stereo components. If you buy a new tape deck, you can just plug
it into the rest of your stereo and it works with everything else you already have.
ActiveX controls bring this same type of interoperability to software applications.</P>
<P>ActiveX used to be called OLE 2.0. OLE 2.0 was Microsoft's technology for combining
two or more applications to make them work as one (or at least to switch between
the various applications within the same application shell). This idea was an expansion
from the original OLE (Object Linking and Embedding) technology, which only enabled
you to combine documents created with different applications into a single document.
When revamping OLE technologies to work in a distributed environment (such as on
the Internet), Microsoft decided to also revamp the name. Thus, ActiveX was born.</P>
<P>
<H3><A NAME="Heading2"></A>ActiveX and the IDispatch Interface</H3>
<P>The ActiveX technology is built on top of Microsoft's COM (Component Object Model)
technology, utilizing its interface and interaction model for making ActiveX control
integration fairly seamless. The COM technology defines how ActiveX objects are constructed
and how their interfaces are designed. The ActiveX technology defines a layer that
is built on top of COM, what interfaces various objects should support, and how different
types of objects should interact.</P>


<BLOCKQUOTE>
	<P>
<HR>
<STRONG>NOTE:</STRONG> Microsoft's COM technology defines how applications and components
	can interact through the use of interfaces. An interface is like a function call
	into an ActiveX component. However, COM specifies how that function call must be
	built and called, and what supporting functionality must accom-pany the function
	call.<BR>
	There are interfaces, like the IUnknown interface, that are required in every COM
	object, and which are used to query the component to find out what other interfaces
	are supported by the component. Each interface supports a specific set of functionality;
	you might have one interface to handle the visual appearance of the control, another
	to control how the control appearance interacts with the surrounding application,
	another that triggers events in the surrounding application, and so on.
<HR>


</BLOCKQUOTE>

<P>One of the key technologies in ActiveX controls is <I>automation</I>. Automation
enables an application embedded within another application to activate itself and
control its part of the user interface or document, making its changes and then shutting
itself down when the user moves on to another part of the application that isn't
controlled by the embedded application.</P>
<P>This process is what happens when you have an Excel spreadsheet embedded within
a Word document. If you click the spreadsheet, Excel becomes active and you can edit
the spreadsheet using Excel, even though you're still working in Word. Then, once
you finish making your changes to the spreadsheet, Excel closes itself down and you
can continue working in Word.</P>
<P>One of the keys to making automation work is a special interface called the IDispatch
(also known as the dispinterface) interface. The IDispatch interface consists of
a pointer to a table of available methods that can be run in the ActiveX control
or embedded application. These methods have ID numbers, called DISPIDs, which are
also loaded into a table that can be used to look up the ID for a specific method.
Once you know the DISPID for a specific method, you can call that method by calling
the Invoke method of the IDispatch interface, passing the DISPID to identify the
method to be run. Figure 9.1 shows how the IDispatch interface uses the Invoke method
to run methods in the ActiveX object.</P>
<P><A HREF="javascript

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲色图.com| 国产久卡久卡久卡久卡视频精品| 国产精品激情偷乱一区二区∴| 久久久影院官网| 日韩免费一区二区三区在线播放| 欧美精品 国产精品| 欧美高清视频不卡网| 宅男在线国产精品| 欧美精品丝袜久久久中文字幕| 欧日韩精品视频| 欧美精品久久一区二区三区| 555www色欧美视频| 欧美videos中文字幕| 26uuu亚洲婷婷狠狠天堂| 久久久亚洲高清| 国产精品久久久久久久久久免费看 | 欧美人与禽zozo性伦| 欧美日韩精品一区二区在线播放 | 亚洲视频你懂的| 依依成人精品视频| 亚洲电影你懂得| 久草精品在线观看| 成人一级黄色片| 色综合久久久久综合体| 欧美日韩一区二区三区不卡| 日韩一区二区三区视频| 日本一区二区免费在线观看视频 | 亚洲综合色丁香婷婷六月图片| 亚洲一区二区三区视频在线| 青草国产精品久久久久久| 精品亚洲国产成人av制服丝袜| 成人性生交大片免费看视频在线 | 欧美福利一区二区| 精品国产乱码久久久久久图片 | 麻豆91免费看| 国产成人av自拍| 欧洲av一区二区嗯嗯嗯啊| 欧美一区二区国产| 国产日韩三级在线| 亚洲国产视频一区二区| 激情文学综合丁香| 91免费观看视频| 日韩久久精品一区| 亚洲视频每日更新| 美女视频黄 久久| 91麻豆国产福利在线观看| 日韩午夜电影在线观看| 国产精品久久久久影院老司| 日韩中文字幕91| 成人一区二区三区中文字幕| 69堂精品视频| 中文字幕在线一区免费| 日本不卡一区二区三区| 成人av电影在线网| 欧美一区日本一区韩国一区| 国产精品久久免费看| 蜜乳av一区二区| 色综合久久久久综合体| 久久久精品人体av艺术| 午夜精品免费在线观看| 国产jizzjizz一区二区| 欧美蜜桃一区二区三区| 亚洲四区在线观看| 国内不卡的二区三区中文字幕 | 日韩三级伦理片妻子的秘密按摩| 国产精品电影一区二区| 日韩国产一二三区| 日本精品视频一区二区| 亚洲国产精华液网站w| 玖玖九九国产精品| 欧美三级电影精品| 亚洲另类在线制服丝袜| 国产成a人无v码亚洲福利| 欧美电影免费观看高清完整版在线| 一区二区三区在线视频观看| 成人黄色软件下载| 久久久久久久久久久电影| 美国精品在线观看| 欧美日韩情趣电影| 亚洲精品视频在线看| 高清国产午夜精品久久久久久| 日韩三级在线观看| 日韩成人免费看| 欧美群妇大交群的观看方式| 亚洲精选免费视频| 99精品国产视频| 国产精品美女久久久久久久| 国产99精品国产| 欧美精品一区二区精品网| 久久电影网电视剧免费观看| 欧美人狂配大交3d怪物一区| 亚洲成人7777| 欧美亚洲高清一区| 亚洲影视资源网| 色噜噜狠狠色综合欧洲selulu| 国产精品美女一区二区在线观看| 国产盗摄视频一区二区三区| 亚洲精品在线免费观看视频| 久久精品国产久精国产爱| 日韩欧美高清在线| 毛片av一区二区三区| 日韩女优电影在线观看| 精品一区二区三区在线观看| 精品久久久影院| 国产在线国偷精品免费看| 26uuuu精品一区二区| 狠狠色丁香九九婷婷综合五月| 欧美大度的电影原声| 精品一二三四区| 久久久精品黄色| 成人av先锋影音| 悠悠色在线精品| 欧美日韩你懂的| 石原莉奈在线亚洲二区| 91精品国模一区二区三区| 麻豆视频一区二区| 久久五月婷婷丁香社区| 国产不卡视频在线观看| 国产精品第一页第二页第三页| 色又黄又爽网站www久久| 亚洲第一福利一区| 欧美高清dvd| 黄色精品一二区| 国产精品美女久久久久久| 色婷婷一区二区| 日韩一区精品视频| 久久久午夜电影| 91小视频在线| 日韩国产欧美在线视频| 久久久久久久一区| 91在线视频播放| 石原莉奈在线亚洲三区| 久久久精品免费网站| 色综合天天综合色综合av| 亚洲妇女屁股眼交7| 精品国内二区三区| 成人黄色国产精品网站大全在线免费观看| 亚洲视频在线一区观看| 88在线观看91蜜桃国自产| 国产电影精品久久禁18| 一区二区三区免费网站| 日韩欧美一级二级三级| av亚洲精华国产精华| 视频一区欧美精品| 亚洲国产精品精华液2区45| 欧美色爱综合网| 国产综合成人久久大片91| 亚洲码国产岛国毛片在线| 日韩欧美激情在线| 99精品黄色片免费大全| 久久国产精品99久久人人澡| 中文字幕一区二区三区四区不卡| 欧美日韩国产一级片| 国产成人精品亚洲777人妖 | 91免费版在线| 久久99精品国产麻豆婷婷| 亚洲精品国产精华液| 精品欧美一区二区三区精品久久| 91性感美女视频| 极品美女销魂一区二区三区| 一区二区三区四区在线播放| 久久久精品欧美丰满| 正在播放一区二区| 一道本成人在线| 国产一区二区女| 视频一区二区三区中文字幕| 国产精品麻豆欧美日韩ww| 91精品午夜视频| 色婷婷国产精品久久包臀 | 久久综合九色综合欧美就去吻| 91丨porny丨国产| 国产精品一区二区果冻传媒| 午夜精品久久一牛影视| 自拍视频在线观看一区二区| 久久亚洲免费视频| 欧美精品日韩一本| 在线观看视频一区二区欧美日韩| 国产成人在线观看免费网站| 麻豆精品一区二区三区| 亚洲不卡在线观看| 亚洲精品欧美综合四区| 国产精品乱码久久久久久| 欧美成人欧美edvon| 91精品国产综合久久国产大片 | 亚洲精品一区二区三区精华液 | 欧美国产乱子伦| 精品国产百合女同互慰| 欧美一区二区视频网站| 欧美吞精做爰啪啪高潮| 91麻豆国产福利在线观看| 成人a级免费电影| 国产91清纯白嫩初高中在线观看| 精品午夜久久福利影院| 日本成人中文字幕| 三级成人在线视频| 视频一区二区不卡| 丝袜亚洲另类欧美| 一区二区三区波多野结衣在线观看 | 亚洲人成人一区二区在线观看 | 奇米888四色在线精品|