Solved

MSGBOX font size

Posted on 1998-10-20
5
1,135 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
[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
  • 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

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

738 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