非矩形MDI儿童阴影 [英] Non-rectangular MDI Child Shadow

查看:70
本文介绍了非矩形MDI儿童阴影的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我可以创建一个非矩形的表单(从一个区域),也没有使其阴影(样式为阴影)的情况-当显示为独立表单时.
但是,将其显示为MDI子代时,所有阴影都消失了.有任何建议吗?

Hi all, I have no problem in creating a nonrectangular form (from a region), neither to make it cast a shadow (dropshadow in styles) - when shown as a standalone form.
However, all the shadow''s gone when displaying this as an MDI Child. Any suggestions?

推荐答案

您可以尝试强制"阴影

-因此,阴影是:逐渐透明的区域.

将您的子窗体的区域重置为在"Boarder"中包括"阴影部分..这样,您将在所有MidiChild窗口中伪造阴影..

希望对您有所帮助.
You could try to "force" the shadow

--So a Shadow is: a region of gradiant transparency.

reset the Region of your childform to "Include" a shadow Portion in the "Boarder".. that way you fake a shadow in all MidiChild windows..

hope this helps.


这篇关于非矩形MDI儿童阴影的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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