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
Solved

Message Box Colour Change

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

839 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