Jump to content

Is it possible to change the font used by MsgBox()?


nitro322
 Share

Recommended Posts

I'd like to used MsgBox() to display a message with a monospaced (fixed width) font. Is this possible, or would it require writing a custom GUI?

I don't think you can change the font of just a MsgBox() message. Maybe the font of all messages in general Windows display settings.

If you want font control of your message, you'll have to write your own GUI function (which is not that hard).

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

I don't think you can change the font of just a MsgBox() message. Maybe the font of all messages in general Windows display settings.

Thanks, PsaltyDS. I figured as much, but wanted to have someone confirm it.

If you want font control of your message, you'll have to write your own GUI function (which is not that hard).

No, it's not, but it's certainly considerable more work then letting MsgBox() automatically take care of window width, height, and button controls. There have also been a couple other times when I needed to do something similar, so I was just wondering if there was an easier way.

Guess not. :)

Edited by nitro322
Link to comment
Share on other sites

Thanks, PsaltyDS. I figured as much, but wanted to have someone confirm it.

No, it's not, but it's certainly considerable more work then letting MsgBox() automatically take care of window width, height, and button controls. There have also been a couple other times when I needed to do something similar, so I was just wondering if there was an easier way.

Guess not. :)

You can always splashtexton, that has editable font properties.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...