It is not possible to change the background color of MsgBox because it comes from Window settings. You can try to use a modal form or a user control as MsgBox.
However if only MsgBox is reqd, you can go on and play around with the SetSysColor API and GetSysColor API to change the colour of window text. But after the msgbox is removed u have again to set the default color back.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.