|
-
Jan 31st, 2008, 05:46 PM
#15
Re: [2005] Background image in MDIForm
 Originally Posted by Genom
Because of this I changed my code and put a picturebox but this time it comes in front of the forms and if I send back it disappears... Can you give me an idea about this issue?
Think about it for a bit. The form contains an MdiClient control. The MdiClient control contains the child forms. If you put any other control, like a PictureBox, on top of the MdiClient then of course it's going to be on top of anything the MdiClient contains too.
It really comes down to the fact that you're not intended to do this sort of thing so no easy way has been provided. If you were supposed to then the MdiClient control wouldn't be hidden in the first place.
What you could do is try drawing the Image using GDI+ instead of using the BackgroundImage property. I've got a feeling that this would not work either though, because the issue already encountered suggests that the MdiClient is not repainted when it's scrolled. Might be worth a look though.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|