Click here to load reader
Upload
halla-guerrero
View
96
Download
0
Embed Size (px)
DESCRIPTION
第 12 章 ActiveX 控制. ActiveX 控制是 Microsoft 提供的功能强大的程序设计和开发技术。 ActiveX 控制既是一个自动化对象,当然也是一个标准的 COM 对象,同时它也是一个界面元素,如同 Windows 的普通控制一样。. 12.1 ActiveX 控制基础. ActiveX 控制的主要技术基础为 OLE 复合文档技术,它涉及 OLE 嵌入对象与包容器程序之间的所有技术,并且 ActiveX 控制也引入了一些新的技术规范。 12.1.1 实地激活 - PowerPoint PPT Presentation
Citation preview
12 ActiveXActiveXMicrosoftActiveXCOMWindows
12.1 ActiveXActiveXOLEOLEActiveX12.1.1 (in_place_activation)OLE(in_place editing) OLEIOleInPlaceFrame IOleInPlaceWindow IOleInPlaceSite IOleInPlaceObject IOleInPlaceActiveObject
(site object)IOleInPlaceSite IOleClientSiteIAdviseSinkIOleInPlaceSite12.1.2 (property page)OLE(property sheet)12.1.3 COM OLEIPropertyNotifySink
12.2 ActiveXActiveXActiveX12.2.1 ActiveX ActiveX (1) (2) (3) () (4)
12.2.2 ActiveXActiveXWindows (1) (2) (3) (4) (5) (6)
ActiveX OLEOLE IOleControlIOleControlSite
12.2.3 IOleObjectIOleClientSiteIOleObjectIOleClientSiteOLEIOleObjectIOleObject21IOleObjectDoVerbSetHostsNameClose DoVerb SetHostsName Close GetMiscStatus
IOleObjectIOleClientSiteIOleClientSite6ActiveXRequestNewObjectLayoutActiveXGetExtent
12.2.4 IOleControlIOleControlSiteIOleControlIOleControlSiteActiveXIOleControlIOleControlSiteOLEActiveX IOleControlIOleControlSite (1) IOleControlGetControlInfoOnMnemonicIOleControlSiteOnFocusOnControlInfoChangedTranslateAccelerator (2) IOleControlSite::GetExtendedControlIdispatchIConnectionPointContainer
IOleControlIOleControlSite ActiveXGetExtendedControlIDispatchActiveXE_NOTIMPL(3) IOleControl::OnAmbientPropertyChange ActiveXOnAmbientPropertyChangedispIDID(4) IOleControlSite::ShowPropertyFrame
IOleControlIOleControlSite(5) IOleControlFreezeEventIOleControlSiteLockInPlaceActiveTransFromCoords FreezeEventActiveX LockInPlaceActive(TRUE)LockInPlaceActive(FALSE) TransFromCoords
12.2.5 ActiveXIDActiveXActiveXActiveXActiveX(stock propertystock methodstock event)12.512.612.712.8
12.2.6 ActiveX(1) Windows (2) ActiveXIdispatchActiveXIpropertyNotifySink(3)ActiveX
ActiveX(4) ActiveX ActiveXCOM (1) ControlActiveXCLSIDActiveX (2) ToolboxBitmap321616DLLEXEID (3) MiscStatusOLEActiveX (4) InsertableOLEActiveX
12.3 ActiveXInternetActiveXInternetInternetWebHTMLHTML
COM+COM+ COMMTSCOMCOMMSMQCOMCOM+ (1) (TRANSCACTIONS)-MTS (2) (SECURITY)-(RoleBased) (3) (CONCURRENCY) (4) (MESSAGE QUEUING)-MSMQ (5)