Problem Resizing MDI Form Background Image

  • Thread starter Thread starter Jason Bodine
  • Start date Start date
J

Jason Bodine

Guest
Hi all,

I've looked all over the web and have seen this question asked many times but not much in the ways of answers.


My MDI application has a dialog box on it that allows the user to select an image to use as the background image for the MDIParent form. MDIParent's BackgroundImageLayout is set to ImageLayout.Stretch and everything works as expected. At lease until I maximize the window. Then something weird happens: The background image does indeed stretch to fill the maximized form, but another copy of the image still in the original size of the form is layered on top of it in th upper left corner. How do I fix this problem, so that the image stretches properly without tiling over itself?


Thanks!

Jason

Continue reading...
 
Back
Top