473,398 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Mdi Parent Background Image

How do I get a background image on an mdi parent container to fill the
entire background. I tried putting a picture box on the form with
dockstyle fill and than the picture in it which works but child forms
are not shown on top of the picturebox.

There must be a simple way to do this considering all of the fancy
graphical interfaces out there already created on the .Net framework...

-Ivan

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #1
5 2084
* Ivan Weiss <iv*****@optonline.net> scripsit:
How do I get a background image on an mdi parent container to fill the
entire background. I tried putting a picture box on the form with
dockstyle fill and than the picture in it which works but child forms
are not shown on top of the picturebox.

There must be a simple way to do this considering all of the fancy
graphical interfaces out there already created on the .Net framework...


There /is/ /no/ simple way to do that. I remember I already pointed you
to a sample showing how to draw the background...

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
The sample you showed me was very different. It was drawing gradients
if I remember correctly, it was not utilizing an image.

If there is no way to do this then how do people do it? I just find it
hard to believe that with all of the apps out there (and many with
backgrounds to mdi parents) none of them have backgrounds made of
images.

Do you have any idea why a form wouldnt display above a picturebox on
the my form?

By the way I know that you tried to help before but I re-posted this in
hope that others out there would read it that didnt before and someone
would either know of a way to do this or know of a component that does
it etc..

-Ivan

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #3
A perfect example of an app doing this is America Online 9. That
definetly seems to be an image to me and not someone coloring in the
background through code, that would have to be too complicated

-Ivan

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #4
Hi there again,

AOL 9 actually does draw that in memory based on the window size.. that is
how it gets the shaddow effects to look perfect.. it's all a virtual image
drawn and then placed into the window
"Ivan Weiss" <iv*****@optonline.net> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
A perfect example of an app doing this is America Online 9. That
definetly seems to be an image to me and not someone coloring in the
background through code, that would have to be too complicated

-Ivan

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 20 '05 #5
Are there any workarounds to get this to work or am I better off just
trying to draw a gradient in the child window or something like that.

I saw one sample posted before but I had a very hard time following it,
are there any other samples that anyone knows of to draw in the mdi
client area?

-Ivan

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
by: Tim & Alethea Larson | last post by:
In order to mark links leaving my site, I recently added this rule to my stylesheet. A:after { content: "\2197" } The character is a northeast-pointing arrow, since that seems to be fairly...
0
by: joeZ | last post by:
Hi there. I though that maybe somebody has gone through this before. I've checked out the group, and I haven't been able to find anything on this topic. (ok, ok, I didn't check the posts...
0
by: paul .G | last post by:
hello. Does anybody know how to set a stretched background image in MDI parent form without overwritting OnPaint function? TIA
2
by: Sebastian Stein | last post by:
Hej, I have a table with 1 row and 2 columns. In both columns are images below each other. In the right cell are less images, so the height of this cell is smaller. Anyway, I want a...
5
by: Bernie Yaeger | last post by:
It's trivial to have an image as the background in an mdi child form. What I can't seem to get done is place an image as the background of an mdi parent form. Is there a way to do this? Thanks...
7
by: Georges Bessis | last post by:
The image I set as background are left at original size. In a picturebox, I can decide to strech the image. Can I do that to fill my background ? Regards GB
2
by: Penguiniator | last post by:
I have a script that writes the body tag and adds a background image to its containing page. This page is displayed in an iframe inside a td tag of a table constructed with javascript. The table...
0
by: jobs | last post by:
Hi. I have a menu horizontal on the top. I figured out that if I set this property the black arrow on parent items goes away.. StaticEnableDefaultPopOutImage="False" However, the item is...
0
by: rajmoumita | last post by:
Hello Sir, Sir,in My Project I Want To Add A Background Image In Parent Mdi Form.so,i Am Very Greateful To You If You Help Me To Do This.i Have Done My Project In Java Language. Thank You....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.