Solved

MSGBOX font size

Posted on 1998-10-20
5
1,129 Views
Last Modified: 2013-12-03
How can I change the font size of the msgbox prompt? Changing the form default size dosn't do it.
0
Comment
Question by:Neal Hartman
  • 2
  • 2
5 Comments
 
LVL 12

Expert Comment

by:mark2150
ID: 1440838
MSGBOX font properties are controlled by your desktop and without API calls not directly accessable to VB.

WATY, you gots the API's for this gent?

M

0
 
LVL 14

Expert Comment

by:waty
ID: 1440839
I think the best and easier solution is rewriting a complete message box. I have coded a complete message box. If you want I can send you the code.

mark, at this moment, I don't see any way using API to change the font in a messagebox. We don't have the hand on a messagebox, it is modal once it is executed, so we could not change the properties of the messagebox.
0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1440840
Waty is right
0
 
LVL 12

Accepted Solution

by:
mark2150 earned 100 total points
ID: 1440841
Was wild guess Waty, you seem to have an API call for *everything* (grin).

Anyway, you can change MSGBOX fonts, etc, but only by changing the entire desktop. If you just want *your* stuff to look different from everyone elses, seems like you're SOL.

M

0
 
LVL 14

Expert Comment

by:waty
ID: 1440842
mark2150, there are a lot of API under Windows, a lot of them are very useful (take a look at the MSDN), I don't know all the APIs.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

706 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