VS2010 MFC:CPIctureBox问题 [英] VS2010 MFC: CPIctureBox Problem

查看:98
本文介绍了VS2010 MFC:CPIctureBox问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好



我将一个CStatic添加到CFormView并执行所有必需的东西来使用CPictureBox。

图片完美绘制(拉伸,居中,......)但是有一个黑色矩形,比CFormView上绘制的原始CStatic控件大得多!黑色矩形恰好在CStatic的左上方开始,但在CStatic控件的右侧和底部展开...

有关此类行为的原因的任何线索?

感谢您的帮助

THierry

Hello

I add a CStatic to a CFormView and do all the required stuffs to use CPictureBox.
The picture draws perfectly (streched, centered, ...) but there is a black rectangle, much larger than the original CStatic control that is drawn on the CFormView !!! The black rectangle starts exactly on the left top of the CStatic but expand on the right and on the bottom of the CStatic control ...
Any clue about the reason of such behaviour ?
Thanks for your help
THierry

推荐答案

嗯,这只是因为4月1日即将到来。要了解一下,请查看一年前发生的事情:

[警告!] Windows Phone 7中的死亡黑线



非常相似,不是它?要格外小心。



-SA
Well, this is just because 1st of April is approaching. To get an idea, please see what happened an year ago:
[WARNING!] Black Line of Death in windows phone 7.

Very similar, isn't it? Be extra careful.

—SA


这篇关于VS2010 MFC:CPIctureBox问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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