Bonehead question

I have a MDI Parent form.  I just want to change the background color (it defaulted to a control and controltext).   Why can't I change it   I mean I can change the forecolor and backcolor properties, but they have no effect.  Do I have to create an image as the background in order to change it (this works, I've tried it).

What a dumb question, I really must be missing something obvious.

Thanks all.


Answer this question

Bonehead question

  • Geuris

    The background color of an MDI form is always the system AppWorkspace system color (you can use SystemColors.AppWorkspace to retrieve this value). You could write unmanaged code to call the Windows API to change this value, but it would change the background color for all MDI applications (not a great idea). 
  • BobbieB

    Bummer.  Thanks Ken!  I didn't think I was going crazy.
  • Bonehead question