锐英源软件
第一信赖

精通

英语

开源

擅长

开发

培训

胸怀四海 

第一信赖

当前位置::锐英源 / 英语翻译 / 图元和流程图开源项目CFlowchartEditor / 在对话框中使用CFlowchartEditor
服务方向
人工智能数据处理
人工智能培训
kaldi数据准备
小语种语音识别
语音识别标注
语音识别系统
语音识别转文字
kaldi开发技术服务
软件开发
运动控制卡上位机
机械加工软件
软件开发培训
Java 安卓移动开发
VC++
C#软件
汇编和破解
驱动开发
联系方式
固话:0371-63888850
手机:138-0381-0136
Q Q:396806883
微信:ryysoft

Use CFlowchartEditor in a dialog app 在对话框应用程序中使用CFlowchartEditor


i am using CFlowchartEditor in a dialog app,我在一个对话框应用程序使用CFlowchartEditor,
m_editor.Create( WS_CHILD | WS_VISIBLE , CRect(0,0,400,400), this );
but it don't show,How to do this right?但它不显示,该怎么办?
please if anybody have idea then relpy me如果有人有想法请答复我

You'll find an example of the CDiagramEditor in a dialog here[^]你会发现在一个对话框的一个示例CDiagramEditor(^)

Thank you for reply.谢谢你的答复
but CDiagramEditor have no "CreateLink" method.i try to copy CreateLink from CFlowchartEditor ,it doesn't work,how can i use CFlowchartEditor in a dialog?

但CDiagramEditor没有“创建”的方法。我试着从CFlowchartEditor复制创建,它不工作,我怎么能在一个对话框中使用CFlowchartEditor ?

CFlowchartEntityContainer* objs = dynamic_cast< CFlowchartEntityContainer * >(m_editor.GetDiagramEntityContainer());

if( objs->CreateLink(obj2, obj3, _T( "" ) ) )
{
RedrawWindow();
}

I didn't mean you should use the CDiagramEditor instead of the flowchart editor, the flowchart editor is derived from CDiagramEditor, and you should add it to a dialog the same way that the CDiagramEditor is added to a dialog in the example code of the other article.
我不是那个意思,你应该使用CDiagramEditor而不是流程编辑器,流程图编辑从CDiagramEditor衍生,你应该把它添加到对话框中的同样的方式,CDiagramEditor被添加到一个对话框,在其他的示例代码 文章。

why it also throws exception "Runtime Error! This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.",为什么它还抛出异常“运行时错误!此应用程序已请求运行时终止它在一个不寻常的方式。请联系应用程序的支持团队获得更多信息。”

whatever use mdi or sdi? but run your demo it is no problem,what is the reason?无论使用mdi或sdi都可以吗?但运行演示它没有问题,原因是什么?

thank you , This problem has been resolved
谢谢你,这个问题已经解决

友情链接
版权所有 Copyright(c)2004-2021 锐英源软件
公司注册号:410105000449586 豫ICP备08007559号 最佳分辨率 1024*768
地址:郑州大学北校区院(文化路97号院)内