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

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

?? 311765 - sample visual c++ activex control for hosting office documents in visual basic or html.htm

?? 在線編輯WORD文檔
?? HTM
?? 第 1 頁 / 共 5 頁
字號:
                  Q311765 </DIV>
                  <DIV class=summary>
                  <H2>SUMMARY</H2>Dsoframerctl.exe contains a Visual C++ ActiveX 
                  control sample that acts as an ActiveX document container for 
                  hosting Office documents (including Microsoft Word, Microsoft 
                  Excel, Microsoft PowerPoint, Microsoft Project, and Microsoft 
                  Visio documents) in a custom form or Web page. The control 
                  (Dsoframer.ocx) is lightweight and flexible, and gives 
                  developers new possibilities for using Office in a custom 
                  solution.<BR><BR>The control is designed to handle specific 
                  issues that make using ActiveX documents from a non-top-level 
                  host window difficult, and serves as a starting place for 
                  constructing your own embedded object file viewer or editor as 
                  an ActiveX control. </DIV>
                  <DIV class=moreinformation>
                  <H2>MORE INFORMATION</H2>This sample shows Visual C++ 
                  developers how to construct an ActiveX control to act as an 
                  ActiveX document container, which allows developers to embed 
                  Office files for in-place editing and viewing. The control can 
                  then be used by Microsoft Visual Basic, Microsoft Internet 
                  Explorer, or Web developers to view Office files inside their 
                  main solution, and give them programmatic control over the 
                  document while it is embedded.<BR><BR><STRONG>NOTE</STRONG>: 
                  <STRONG>This sample is provided "AS IS" with no warranty or 
                  support from Microsoft.</STRONG> It is a demonstration, 
                  provided for informational purposes only, and has not been 
                  rigorously tested with all environments and ActiveX document 
                  servers. It is up to you to make it "production ready" if you 
                  use it in any development solution.<BR><BR>
                  <H3>Background Information</H3>ActiveX document technology is 
                  not new, but it has become increasingly popular in recent 
                  years, thanks in large part to Internet Explorer. The ability 
                  of Internet Explorer to view and edit Office files inside the 
                  browser is made possible because of ActiveX document 
                  technology. Many developers rely on the support that Internet 
                  Explorer offers for this type of containment in order to host 
                  Office files in their custom solutions, either in Web pages 
                  that are viewed in Internet Explorer, or in the WebBrowser 
                  control (Shdocvw.dll) that is used in a Visual Basic project. 
                  The ability to have Office run embedded inside a custom 
                  solution is very attractive to some development 
                  projects.<BR><BR>There are limitations, however, in how 
                  Internet Explorer implements ActiveX document containment, and 
                  in what it exposes to developers. Some of the limitations of 
                  using Internet Explorer or WebBrowser controls in a solution 
                  are as follows: 
                  <UL>
                    <LI><STRONG>Programmatic control</STRONG>: Internet Explorer 
                    gives limited access to the embedded object, particularly 
                    when the object is embedded inside a Web page. Even when the 
                    object is used outside of a Web page (in the WebBrowser 
                    control, for example), an Automation object cannot be 
                    obtained directly after opening the file. Rather, the code 
                    must wait for the <STRONG>NavigateComplete2</STRONG> event 
                    to fire, thereby preventing synchronous access to the object 
                    right after the <STRONG>Navigate</STRONG> method is called.
                    <LI><STRONG>Documents unintentionally opened outside the 
                    browser</STRONG>: Internet Explorer uses certain criteria 
                    (including a check of an end-user option) to determine 
                    whether it attempts to open a document inside or outside the 
                    browser. This can be problematic if a development project 
                    requires that its documents always open inside the 
                    designated frame, because Internet Explorer does not 
                    guarantee that any non-HTML file will be opened in-place.
                    <LI><STRONG>Toolbars and menus</STRONG>: When you view 
                    Office files, Internet Explorer automatically hides the 
                    toolbars of the document, and makes it difficult to control 
                    this behavior or selectively choose what the default setting 
                    should be. Moreover, menu support is only available if the 
                    document is shown in the top-level frame of the main 
                    Internet Explorer window, not when the document is shown in 
                    a subframe or in the WebBrowser control. Developers may want 
                    better control over both.
                    <LI><STRONG>Saving to a server</STRONG>: Some development 
                    projects require a document to open from or save to a URL 
                    location (Web folder). The ability to save a particular 
                    embedded object to a Web server is not native to Internet 
                    Explorer or the WebBrowser control.</LI></UL>The following 
                  sample corrects all of these issues, and many others. It also 
                  gives developers a component that they can refine and 
                  customize to suit a particular business need or 
                  environment.<BR><BR>
                  <H3>Considerations About the Design</H3>ActiveX document 
                  containment is not a simple task. The requirements to be a 
                  well-written host are fairly lengthy, and participation of the 
                  top-level application is always assumed. The idea of making an 
                  ActiveX control behave as an ActiveX document container is 
                  therefore inherently problematic, and somewhat difficult. 
                  However, this idea has been presented to Microsoft several 
                  times by developers that seek alternatives to the WebBrowser 
                  control, or to aid in more customizable Web projects, and 
                  deserves some attention.<BR><BR>Nonetheless, it should be 
                  recognized that an ActiveX control (even this one) is not 
                  considered a suitable host for this type of embedding, and 
                  will have certain limitations that the developer must always 
                  take into account (and may never be fully able to 
                  resolve).<BR><BR>A fully functional ActiveX document container 
                  needs to control the following elements that belong to the 
                  application that acts as the host, for which an ActiveX 
                  control is not well-suited: 
                  <UL>
                    <LI><STRONG>WindowProc</STRONG>: Because the purpose of 
                    ActiveX documents is to make two applications behave as one, 
                    the top-level window of the host application must forward 
                    messages to the in-place object as it receives them. These 
                    messages are not sent to ActiveX controls because controls 
                    are always in-process, and therefore do not require them. 
                    Therefore, to solve this critical issue, the sample must 
                    subclass the main window of any application on which it is 
                    inserted to capture these window messages and forward them 
                    as needed.
                    <LI><STRONG>MessageLoop</STRONG>: All good OLE containers 
                    should forward keyboard accelerator messages to an in-place 
                    active object. Unfortunately, controls do not control the 
                    main message loop and cannot handle this for the host. As a 
                    result, certain keyboard shortcuts may not work as expected 
                    when focus is not directly inside the user interface window 
                    of the in-place object.
                    <LI><STRONG>Menus</STRONG>: Per Graphics Device Interface 
                    (GDI) rules for the Microsoft Windows operating system, only 
                    the top-level window should have a menu bar. Because this 
                    menu is controlled by the host application and not a 
                    control, it is not possible to handle formal OLE menu 
                    merging without intimate knowledge of the target application 
                    in which the control is set to run. Because menu support is 
                    important to some developers, the sample in this article 
                    uses a pop-up menu for menu access as a workaround. 
                    Developers can choose to enable or disable the pop-up menu 
                    as needed.
                    <LI><STRONG>MessageFilter</STRONG>: All single-threaded 
                    apartment (STA) threads in an OLE application implement a 
                    message filter for processing certain messages while in a 
                    blocking call to an OLE server. It is very important that 
                    the STA message filter does not block return calls for 
                    <STRONG>IOleInPlaceFrame</STRONG> methods, and a good 
                    ActiveX document host should implement a custom message 
                    filter. However, message filters are controlled by the 
                    thread and application, not a control, so this is not 
                    possible under COM rules. The two most common containers for 
                    this sort of control, Internet Explorer and Visual Basic, 
                    support OLE embedding on their own and have a filter that 
                    allows these calls. This means that the sample should work 
                    in these containers with no extra work needed. Other 
                    non-Visual Basic or non-Internet Explorer containers, 
                    however, may stop responding (hang) unexpectedly when they 
                    use this sample. If the containers stop responding, check 
                    the implementation for the message filter.
                    <LI><STRONG>Window Focus and Z Order</STRONG>: Each thread 
                    maintains its own focus and Z order state with respect to 
                    windows that belong to that thread. To have two applications 
                    behave seamlessly, special care needs to be taken to ensure 
                    that focus and Z order states between both applications 
                    remain synchronized. When you display dialog boxes or other 
                    windows that overlap an in-place active object, be sure to 
                    notify the control that you are going into a modal state so 
                    that the control can notify the object and handle focus and 
                    Z order correctly.</LI></UL>These factors limit the ability of 
                  an ActiveX control to make a suitable ActiveX document 
                  container for all hosts, in all situations. However, the 
                  sample given below does meet the needed requirements for 
                  Office servers when it is embedded in a control that is hosted 
                  in a Visual Basic 6.0, Visual Studio .NET, or Internet 
                  Explorer 5.x or 6.0 solution. Other host applications, or 
                  ActiveX document servers, may require you to satisfy more of 
                  the listed requirements than this sample provides. 
                  <H3>Download the Sample</H3>The following file is available 
                  for download from the Microsoft Download Center:<BR>
                  <P class=indent><A class=URLLink 
                  href="http://download.microsoft.com/download/OfficeXPDev/sample/1.0/WIN98MeXP/EN-US/Dsoframerctl.exe" 
                  target=_top>Dsoframerctl.exe</A></P>Release Date: 
                  Jan-29-2002<BR><BR>For additional information about how to 
                  download Microsoft Support files, click the following article 
                  number to view the article in the Microsoft Knowledge Base: 
                  <P class=indent><A class=KBlink 
                  href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;119591">119591</A> 
                  How to Obtain Microsoft Support Files from Online Services 
                  </P>Microsoft scanned this file for viruses. Microsoft used 
                  the most current virus-detection software that was available 
                  on the date that the file was posted. The file is stored on 
                  security-enhanced servers that help to prevent any 
                  unauthorized changes to the file. The Dsoframerctl.exe file 
                  contains the following files:<BR><BR><SPAN 
                  class=weboutput><FONT size=2>
                  <TABLE borderColor=#000000 cellSpacing=0 cellPadding=4 
                  width="70%" borderColorLight=#ffffff border=1>
                    <TBODY>
                    <TR>
                      <TH bgColor=#c0c0c0><FONT size=2>FileName</FONT></TH>
                      <TH bgColor=#c0c0c0><FONT size=2>Size</FONT></TH></TR>
                    <TR>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美在线看片a免费观看| 五月激情丁香一区二区三区| 国产在线视频一区二区| 日韩精品一区二| 韩国成人福利片在线播放| 久久午夜色播影院免费高清| 久久爱www久久做| 国产精品素人一区二区| www.欧美色图| 五月婷婷久久综合| 日韩精品一区二区在线观看| 国产一区二区电影| 亚洲欧洲日韩一区二区三区| 在线观看一区二区精品视频| 日本不卡不码高清免费观看| 精品国产sm最大网站免费看| 国产成人午夜精品影院观看视频 | 欧美一卡2卡三卡4卡5免费| 麻豆精品国产91久久久久久| 久久麻豆一区二区| 色综合色综合色综合色综合色综合| 亚洲自拍都市欧美小说| 91精品久久久久久久久99蜜臂| 精彩视频一区二区三区| 亚洲人快播电影网| 欧美一级片在线观看| 国产91丝袜在线观看| 一区二区三区.www| 精品伦理精品一区| 色综合天天综合网天天狠天天| 日日摸夜夜添夜夜添国产精品| 久久久久9999亚洲精品| 欧美专区日韩专区| 国产成人免费高清| 一区二区不卡在线播放| 国产亚洲欧洲一区高清在线观看| 99re亚洲国产精品| 久久国产人妖系列| 亚洲欧美电影一区二区| 日韩精品一区二区三区在线播放 | 26uuu精品一区二区在线观看| 成人h精品动漫一区二区三区| 亚洲自拍欧美精品| 国产精品美女一区二区三区| 欧美老女人第四色| 99精品在线观看视频| 日本不卡视频一二三区| 一区二区三区在线观看国产| 久久久综合精品| 欧美巨大另类极品videosbest | 欧美日韩国产一二三| 国产91富婆露脸刺激对白| 午夜av一区二区| 亚洲黄色av一区| 中文字幕乱码久久午夜不卡| 日韩欧美在线影院| 欧美理论电影在线| 在线观看www91| 成人黄色一级视频| 国产乱子轮精品视频| 日本中文字幕一区| 亚洲一本大道在线| 亚洲色图一区二区三区| 国产视频视频一区| 2021久久国产精品不只是精品| 欧美日韩日日夜夜| 欧美曰成人黄网| 99精品久久只有精品| 成人高清视频在线观看| 国产成人啪午夜精品网站男同| 蜜桃视频一区二区三区| 日韩激情一区二区| 午夜精品福利一区二区三区av| 亚洲精品美腿丝袜| 亚洲欧美区自拍先锋| 中文字幕亚洲视频| 国产精品二三区| 国产精品人人做人人爽人人添| 国产日韩视频一区二区三区| 精品国产不卡一区二区三区| 精品精品欲导航| 久久综合久久99| 国产女人18水真多18精品一级做| 亚洲精品一区二区三区四区高清 | 欧洲国内综合视频| 欧美一a一片一级一片| 91精彩视频在线| 欧美日韩综合色| 欧美美女直播网站| 日韩亚洲欧美一区二区三区| 日韩一级大片在线| 精品国产乱码91久久久久久网站| 精品少妇一区二区三区日产乱码 | 91一区二区在线| 91麻豆文化传媒在线观看| 色先锋久久av资源部| 欧美在线观看一二区| 678五月天丁香亚洲综合网| 欧美一区二区视频观看视频| 精品理论电影在线| 国产精品天干天干在观线| 亚洲人成在线观看一区二区| 亚洲黄色在线视频| 麻豆视频一区二区| 成人午夜视频免费看| 91无套直看片红桃| 在线电影院国产精品| 日韩欧美高清dvd碟片| 国产欧美1区2区3区| 一区二区三区中文字幕电影| 日本一区中文字幕| 国产高清精品网站| 欧美在线观看你懂的| 精品国产一二三| 亚洲你懂的在线视频| 毛片不卡一区二区| 99精品热视频| 日韩精品一区二区三区三区免费 | 日本va欧美va精品发布| 国产一区激情在线| 日本高清免费不卡视频| 日韩欧美在线不卡| 日韩理论片中文av| 加勒比av一区二区| 欧美亚洲一区二区三区四区| 精品国产一二三区| 亚洲午夜久久久久久久久电影院 | 国产欧美视频一区二区三区| 亚洲一本大道在线| 成人网在线免费视频| 欧美精品乱码久久久久久| 亚洲国产成人一区二区三区| 视频一区二区中文字幕| eeuss鲁片一区二区三区在线看| 5566中文字幕一区二区电影| 日韩一区在线免费观看| 激情文学综合插| 欧美日本韩国一区| 亚洲欧美日韩国产综合在线| 国内不卡的二区三区中文字幕 | 91精品国产综合久久久久久久| 国产女主播视频一区二区| 青青草精品视频| 欧美色综合天天久久综合精品| 国产欧美一区二区三区在线老狼 | 91精品国产一区二区| 亚洲欧洲av一区二区三区久久| 久久99在线观看| 91麻豆精品国产自产在线观看一区 | 亚洲日本在线看| 国产精品自在在线| 91精品国产福利在线观看| 一级中文字幕一区二区| 99re这里只有精品6| 欧美国产日韩亚洲一区| 国内外成人在线| 日韩一区二区三区在线视频| 亚洲国产欧美另类丝袜| 91浏览器在线视频| 亚洲欧洲日韩在线| 99久久精品国产导航| 中文字幕欧美三区| 国产不卡免费视频| 久久久精品免费网站| 激情综合一区二区三区| 欧美大片顶级少妇| 久久99精品久久久久久| 日韩一区二区三区高清免费看看| 天天综合色天天综合| 欧美视频一区在线| 亚洲va欧美va人人爽午夜| 在线免费一区三区| 亚洲人成网站影音先锋播放| 972aa.com艺术欧美| 亚洲免费高清视频在线| 欧美中文字幕亚洲一区二区va在线| 亚洲蜜臀av乱码久久精品| 色国产综合视频| 亚洲国产成人porn| 欧美一区二区高清| 国产原创一区二区| 欧美激情综合在线| 91色.com| 香蕉乱码成人久久天堂爱免费| 在线电影一区二区三区| 国产一区美女在线| 亚洲欧洲精品一区二区三区不卡| 色综合久久中文字幕综合网| 一区二区三区在线免费播放| 欧美日韩国产在线观看| 久久99精品久久久久| 国产精品人人做人人爽人人添| 日本国产一区二区| 卡一卡二国产精品| 日本一区二区三区电影| 色噜噜狠狠色综合欧洲selulu| 日韩不卡一区二区三区| 国产欧美综合在线| 欧美日韩三级视频| 国产麻豆日韩欧美久久|