Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Sep 9th, 2005, 10:43 AM   #1
Aysehl
Newbie
 
Join Date: Jul 2005
Posts: 2
Rep Power: 0 Aysehl is on a distinguished road
Message Box Colours

Hey people,

I was just wondering if anyone knew how to change the background colour of the message box in a c# windows application, when using the MessageBox.Show() function.

Say I changed the background colour of the form and then the message box doesn't match the form colour.

How do you change it?

Thx in advance for any help.

Aysehl

P.S - Somewhat new to c#
Aysehl is offline   Reply With Quote
Old Sep 9th, 2005, 12:32 PM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
The MessageBox is a window contained in some DLL in the system32 folder (I don't know which one, and have no wish to ever find out). It just adds your text, buttons, icons, etc. If you want to change it, make your own and call it MsgBox or something.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Sep 9th, 2005, 2:04 PM   #3
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
That would be a good idea... just create your own, that way you have full control.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Sep 11th, 2005, 3:59 AM   #4
Aysehl
Newbie
 
Join Date: Jul 2005
Posts: 2
Rep Power: 0 Aysehl is on a distinguished road
Question

Hmm.. ok thx.

Havn't got into creating DLL's or anything like that, so i guess i'll look into it soon.

Maybe i will spend a little while finding that DLL, if i have nothing better to do.
Aysehl is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:35 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC