MDI子窗体最佳层叠平铺算法及程序实现  被引量:2

Procedures to achieve optimal cascade & title algorithm for MDI child forms

在线阅读下载全文

作  者:解福田[1] 林敬周[1] 钟俊[1] 

机构地区:[1]中国空气动力研究与发展中心,四川绵阳621000

出  处:《计算机应用》2014年第A02期234-237,共4页journal of Computer Applications

摘  要:针对VB 6.0编程软件界面不够美观,需要使用第三方皮肤系统进行界面美化,以及Skinsharp等高效的皮肤控件对MDI窗体的支持不够稳定,经常出现移动窗体后无法对窗体重新排列的问题,提出了模拟VB对MDI窗体的排列效果,实现与VB类似的MDI窗体平铺算法,实现了层叠、水平和垂直三种排列效果,并在此基础上增加了弹性层叠功能和固定窗体次序功能。所用方法解决了加载皮肤后子窗体无法排列的问题。结果表明:所用算法的执行效率不高,只有VB方法的二分之一,特别是加上皮肤后层叠的效率下降较多;但当窗体数量较少时,所用算法具有一定实用性,可以作为加载皮肤系统时VB默认排列的替代方法。It is difficult to get a beautiful interface for VB 6. 0, so a third control or library for skin interface landscaping is often utilized. But for most efficient skin controls including Skinsharp, their supports for MDI form array are not stable enough such that moved or resized forms cannot be reordered. In order to solve the problem, this paper studied sort rules of VB MDI form, put forward an optimal sorting algorithm to simulate the VB default effects. Cascade, horizontal and vertical sorting effects were achieved, and on this basis, functions of elastic stack the fixed form order were presented. The results show that the method has lower efficency but stronger robustness, only half of VB method,the efficiency of cascading downs more especially after loading skin. When the number of the MDI forms is fewer and the skin control is loaded, VB default method can be replaced by the proposed method.

关 键 词:MDI窗体排列 Skinsharp 弹性层叠 界面美化 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象