Solved

Message Box Colour Change

Posted on 2004-07-30
2
344 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Replace Formatted Numbers with text 9 61
ms access #TYPE! error on report when no data 4 68
Sending a email via excel using vba 6 72
Child Form in front 4 39
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…

862 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now