By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 1,121 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

Changing background color on MDI parent form

P: n/a
How can I change the background color of an MDI form? I read in msdn that it
takes the background of windows (and not the BackColor) but I wanted to
really make sure. I know that in VC it can be done.

Thanks.
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

Hi Omar,

The MSDN is true, you can not change the backcolor of MDI form by
setting its backcolor property.

As a workaround, you can create a mdiclient control,changing the
mdiclient's backcolor
and add it into the mdi form, then the mdi form will display the
mdiclient's color.

Hope this helps,
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| Reply-To: "Omar Llanos" <None>
| From: "Omar Llanos" <None>
| Subject: Changing background color on MDI parent form
| Date: Thu, 25 Sep 2003 22:00:47 -0500
| Lines: 7
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <u3**************@TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: cvx-ppp-66-50-133-170.coqui.net 66.50.133.170
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:187456
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| How can I change the background color of an MDI form? I read in msdn that
it
| takes the background of windows (and not the BackColor) but I wanted to
| really make sure. I know that in VC it can be done.
|
| Thanks.
|
|
|

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.