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:
00862478
Vues:
10
>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!
Brian Seekford
Seekford Solutions, Inc.
http://www.SeekfordSolutions.com
Internet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform