Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Background image question on MDI parent form
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00862374
Message ID:
00862496
Vues:
14
Hi Brian,

Thanks for the reply. I haven't done any graphics stuff with .NET yet - so "simply creating a new bitmap in memory" and doing the other things you suggested - doesn't sound all that simple to me.

Can you point me in the direction of any articles that discuss this topic (manipulating a bitmap in memory). None of the books I have discuss how this can be done....

In the meantime, I think I'll just use a Picturebox control and show/hide it as need be.

Regards, Al

>>Hi,
>>
>>I'd like to add a logo as a background image on my MDI Parent form. If I use the BackgroundImage property - the image is tiled to fill the entire form. What is the best approach to add an background image to the middle of an MDI Parent form (i.e. so that it doesn't fill the entire screen?)
>
>You can do a little more work and just reassign the background image upon resize and do your own manipulation of the image in memory. Simply keep creating a new bitmap in memory that is of the background color you want, then copy the bitmap you want to show to the center of your new bitmap then assign the property.
>
>That should do it for you. Just remember what it was like before they had a MDI background property. Sometimes taking a step back lets you take a step forward.
>
>Enjoy!
Al Williams

Anola MB, CANADA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform