本文介绍了MDI表单中的透明子表单.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我正在开发一个使用MDI和子窗体的Windows Forms应用程序. MDI具有背景图像.我试图使子窗体背景透明,以便MDI图像显示通过.我已经拖网了,但据我了解,这是不可能的.但是,使用API在非托管代码中似乎可行.是否有任何示例说明如何执行此操作以及应使用哪种API(最好在C#中使用)?
提前非常感谢.
Andy:confused:
Hi, I''m developing a Windows Forms application that uses an MDI and child forms. The MDI has an image for the background. I am trying to make the child form background be transparent so the MDI image shows through. I have trawled the internet, and from my understanding this is not possible. However, it seems to be possible in unmanaged code using APIs. Are there any examples of how to do this and what API I should use (preferably in C#)?
Many thanks in advance.
Andy:confused:
推荐答案
这篇关于MDI表单中的透明子表单.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!