help please ? about message box

JAM-Computers
04-07-2004, 02:01 PM
Hello,

First post, I am a beginner, but I am enjoying vb best of the languages I am learning and want to get a lot better at it. I have a question, how do you change the background color of a messagebox? I know this is an exteme noob question, i searched for it but didn't find what I am needing. Remember please keep your answer very basic, and thank you for helping out a beginner

Machaira
04-08-2004, 06:51 AM
The easy answer is - you don't.

AtmaWeapon
04-08-2004, 07:19 AM
Class MessageBox does not have any properties to manipulate its color. If the user changes their system colors, its color will change. The only way I know of for sure to create a MessageBox with a different background color is to create a custom Form and display it using ShowDialog. There's a possibility if you inherit from MessageBox you could do it, but I don't see anything like OnPaint in the member list, so you probably cannot do it in that manner.

JAM-Computers
04-08-2004, 07:30 AM
thank you for your replies.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum