Solved

Message Box Colour Change

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

705 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

14 Experts available now in Live!

Get 1:1 Help Now