Solved

Message Box Colour Change

Posted on 2004-07-30
2
347 Views
Last Modified: 2010-05-02
Hi,

          Problem is::     I want to change the message box colour, fonts style, font size and also picture in message box.

 


0
Comment
Question by:bkniazi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 14

Assisted Solution

by:aelatik
aelatik earned 50 total points
ID: 11675747
It's not possible to change the color of a messagebox. It inherits its style and colors from Windows. If you change the style in windows the messagebox will adapt ittsself.
If you wish to make such a messagebox then simply create a form in the same size of a messagebox and design it the way you want.

You can then call the form instead of a message box.
0
 
LVL 8

Accepted Solution

by:
glass_cookie earned 75 total points
ID: 11685217
Hi!

As mentioned by aelatik, you can't change them without changing the windows environment.

Well, here's something that you may want to use:

Download...
http://www.planetsourcecode.com/vb/scripts/ShowZip.asp?lngWId=1&lngCodeId=37567&strZipAccessCode=tp%2F%5B375679998
Description: This is a simple control i made which looks kinda nice and can function as a message box. To set colors, set them in hexadecimal form, you will also have to set properties at runtime. To use this, you will need to add a new form, set...

That's it!

glass cookie ;)
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question