回 帖 发 新 帖 刷新版面

主题:请问各位,matlab能不能制作类似于Vc++中的MDI界面


 
各位好!我想知道能不能制作出类似于vc中的“多窗口程序”——MDI
就是指是,一个figure作为主框架窗口,在客户区有很多子figure。 
[em14]

回复列表 (共1个回复)

沙发

这个问题,我万般无奈之下,救助国外的matlab同行,他们很热情,一下给我回复了好几封信。可惜,我的英语水平有限,自己的问题表达的不清楚,对方的回信我更是一筹莫展。在此请大家一起分析一下:

question:
> I want to make a figure contain more than one figure, just like MDI application which can be made in Visual C++ . For example, a figure called main frame window contains mangy son figures in the main frame window's client area.Can you give me possible 
> solutions, please?

answer:
Dear Xu Qing!
You can do it manually by setting the figure positions of the child figures inside the main figure. Then it mighe be helpful to use the undocumented "OuterPosition" property of the figures.
But I do not think that this will look nice. And catching events of a moved figure is not easy, but possible with Yair's help: http://undocumentedmatlab.com/

Good luck, Jan 

我来回复

您尚未登录,请登录后再回复。点此登录或注册