从工具窗口中打开编辑器窗口

从工具窗口中打开编辑器窗口

本文介绍了从工具窗口中打开编辑器窗口.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我已经创建了一个工具"窗口,具有树形视图"获胜表单控件(动态).每个节点都包含一些上下文菜单,基于该菜单,单击即可调用Web服务,并获取要呈现的控件的结构.我想打开编辑器窗口(无文件),其中包含从MDI区域从Web服务接收的Win窗体控件的结构.我没有找到有关此的任何帮助/样品.谁能告诉我实现它的步骤.

谢谢

Hi,
I have created a Tool window with Tree view win form control(dynamically). Each node contain some context menu based which on click call a web service and gets the structure of the controls to be rendered .I would like to open Editor window(Fileless) with win form controls structure received from the web service in the MDI area. I did,nt find any help/samples regarding this. Can any one tell me the steps to implement it.

Thanks

推荐答案

您可以使用 IVsUIShellOpenDocument接口要启动与文件扩展名无关的编辑器,NR123已经启动了该线程,最后他提供了一些示例代码,请研究此链接.
You could use IVsUIShellOpenDocument Interface to launch an editor without File extension related, NR123 has already started a thread of this, at last he give some sample code, Please research this link Is there a way to launch fileless editor manually?.


这篇关于从工具窗口中打开编辑器窗口.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-26 09:06