本文介绍了FormBroderStyle FIXED3D和ISMDICONTAINER的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2012 Prof. 当我选择FormBorderStyle FIXED3D时,该表单显示FIXED3D,但是当我执行该应用程序(调试)时,除非我选择ISMDICONTAINER TRUE,否则该表单不会显示FIXED3D,但是我的BACKCOLOR转到 深灰色,我无法更改BACKCOLOR.当我具有ISMDICONTAINER TRUE时,背景色总是淡灰色.我如何获得FIXED3D并让我的背景色变成深灰色以外的其他颜色?

I am using Visual Studio 2012 Prof.  When I select FormBorderStyle FIXED3D the form shows the FIXED3D, but when I execute the application (debug) the form does not show the FIXED3D unless I select ISMDICONTAINER TRUE, but then my BACKCOLOR turn to a dark gray and I can not change the BACKCOLOR.  The backcolor is always dard gray when I have ISMDICONTAINER TRUE.   Question:  How can I get FIXED3D and have my backcolor anything other than dark gray?

ecb

推荐答案

取消设置IsModContainer,仅设置两个属性.

图片:

效果:

请注意,请plz设置您的Windows样式(如果使用win7或win8,则将其设置为"Windows Classic", 通过右键单击桌面上的鼠标,然后选择属性……)

Notice it that plz set your Windows style (if using win7 or win8, set to "Windows Classic" by right clicking the mouse on the desktop, and choose properties……)


这篇关于FormBroderStyle FIXED3D和ISMDICONTAINER的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-12 14:01