![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jul 2005
Posts: 2
Rep Power: 0
![]() |
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# |
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
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.
|
|
|
|
|
|
#3 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Jul 2005
Posts: 2
Rep Power: 0
![]() |
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. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|