Click here to Skip to main content
15,888,315 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Comments
Resmi Anna 21-Mar-12 1:58am    
Very Difficult to understand how the screen looks from just the explanation. Better you post the code which draws the picture. So that someone here can help you

1 solution

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
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900