在DocView中嵌入Excel时放置功能区和网格 [英] Placement of ribbon and grid while embedding Excel in DocView

查看:107
本文介绍了在DocView中嵌入Excel时放置功能区和网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 

我有一个遗留代码,它将Excel嵌入到MFC应用程序中。当我运行此应用程序时,它将在显示的屏幕输出的不同部分创建功能区(Office 2010)和嵌入式Excel中的网格。我无法找到不同的
部分Excel的位置。谁能帮助我知道如何将带状/工具栏与网格分开放置?

I have a legacy code which is embedding Excel in MFC application. When I run this application, it is creating the ribbon (Office 2010) and the grid from the embedded Excel in different part of the displayed screen output. I am unable to find how different parts of Excel are getting positioned. Could anyone please help me know how ribbon/toolbar can be placed separately from the grid?

提前致谢。

推荐答案

您是如何将  excel 包含到您的MFC项目中的,是COM?我认为COM对象就像一个控件,你不能将它们从外面分开,这里是在你的MFC项目中,只有当这个COM对象为这个函数打开一个接口时。
How did you include the excel into your MFC project, is COM? I think a COM object just like a control, you cannot separate them from out side, here is in your MFC project, only if this COM object open a interface for this function.


这篇关于在DocView中嵌入Excel时放置功能区和网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆