4 Replies - 16061 Views - Last Post: 11 November 2008 - 10:17 AM Rate Topic: -----

#1 akhi4akhil  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 11-November 08

Change Backgound Of Message Box

Posted 11 November 2008 - 03:35 AM

How can i change the backgroud color and other options like font, fore color of a message box. my message box is given below.

MessageBox.Show("Finished Creating Project", "Finish", MessageBoxButtons.OK, MessageBoxIcon.Information);


Is This A Good Question/Topic? 0
  • +

Replies To: Change Backgound Of Message Box

#2 n8wxs  Icon User is offline

  • --... ...-- -.. . -. ---.. .-- -..- ...
  • member icon

Reputation: 971
  • View blog
  • Posts: 3,878
  • Joined: 07-January 08

Re: Change Backgound Of Message Box

Posted 11 November 2008 - 06:45 AM

According to http://msdn.microsof...ox_members.aspx you can't.
Was This Post Helpful? 0
  • +
  • -

#3 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1633
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: Change Backgound Of Message Box

Posted 11 November 2008 - 07:45 AM

The MessageBox Class cannot have it's background color changed. It is a sealed class and you have access to only a few of it's properties
Was This Post Helpful? 0
  • +
  • -

#4 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1524
  • View blog
  • Posts: 5,957
  • Joined: 21-March 08

Re: Change Backgound Of Message Box

Posted 11 November 2008 - 08:06 AM

perfect time to create your own message box.
Was This Post Helpful? 0
  • +
  • -

#5 gbertoli3  Icon User is offline

  • DIC at Heart + Code
  • member icon

Reputation: 40
  • View blog
  • Posts: 1,162
  • Joined: 23-June 08

Re: Change Backgound Of Message Box

Posted 11 November 2008 - 10:17 AM

I think creating your own MessageBox would be a Great Idea!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1