Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Background color on MDI Parent

Status
Not open for further replies.

RileyCat

Programmer
Apr 5, 2004
124
US
I have a C# front-end GUI with an MDI setup. When the user initially logs on, the menu screen, which is essentially the parent, appears. The problem I'm having is to change the background color on the parent. Everything I'm finding/reading is saying it's set to the system color and cannot be changed.

Can anybody set me on the right track on this? Is it possible to in fact change the back ground color on the parent form without using an image?

If so, how to do it would be appreciated.

Thanks in advance!
 
I've never figured out how to do it. What you can do is use a control to fill the background, such as a panel. Change the background color of the panel.
 
Just in case I'm not the only one looking for the information, take a look at this Microsoft Support Article

I had to massage it a bit for my particular app but for the most part works like a charm!

 
what did the "massaging entail? If I may be so bold to ask ;)

___________________________________________________________________

The answer to your ??'s may be closer then you think. faq333-3811
Join the Northern Illinois/Southern Wisconsin members in Forum1064
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top