Skip to main content

[archive] Larger font in message box?

  • January 9, 2008
  • 9 replies
  • 0 views

[Migrated content. Thread originally posted on 08 January 2008]

I'd like to display a larger font in the message box (maybe even in a different color). Obviously, we can't do that with the Acucorp DISPLAY MESSAGE BOX syntax.

Has anyone out there done this by calling the Windows API? Anyone want to share? Thanks!:confused:

9 replies

[Migrated content. Thread originally posted on 08 January 2008]

I'd like to display a larger font in the message box (maybe even in a different color). Obviously, we can't do that with the Acucorp DISPLAY MESSAGE BOX syntax.

Has anyone out there done this by calling the Windows API? Anyone want to share? Thanks!:confused:
The MESSAGE BOX is using the standard message box as provided by the Windows API, if you want to enlarge this font, you will have to alter the system defaults (right click the desktop, choose properties, go to the Appearance tab, click Advanced, in the Item listbox, choose Message Box, then you can change the font.
Obviously, this will also change the font for anyone else using this, so I really would not recommend doing this.
It is better then, to write your own message box.

(Btw Marilyn, I think you should change your signature :-))

[Migrated content. Thread originally posted on 08 January 2008]

I'd like to display a larger font in the message box (maybe even in a different color). Obviously, we can't do that with the Acucorp DISPLAY MESSAGE BOX syntax.

Has anyone out there done this by calling the Windows API? Anyone want to share? Thanks!:confused:
The MESSAGE BOX is using the standard message box as provided by the Windows API, if you want to enlarge this font, you will have to alter the system defaults (right click the desktop, choose properties, go to the Appearance tab, click Advanced, in the Item listbox, choose Message Box, then you can change the font.
Obviously, this will also change the font for anyone else using this, so I really would not recommend doing this.
It is better then, to write your own message box.

(Btw Marilyn, I think you should change your signature :-))

[Migrated content. Thread originally posted on 08 January 2008]

I'd like to display a larger font in the message box (maybe even in a different color). Obviously, we can't do that with the Acucorp DISPLAY MESSAGE BOX syntax.

Has anyone out there done this by calling the Windows API? Anyone want to share? Thanks!:confused:
Marilyn,

We create our own window and place text (and possibly other things) upon that window instead of using the message box, as Gisle suggested.

Rob

[Migrated content. Thread originally posted on 08 January 2008]

I'd like to display a larger font in the message box (maybe even in a different color). Obviously, we can't do that with the Acucorp DISPLAY MESSAGE BOX syntax.

Has anyone out there done this by calling the Windows API? Anyone want to share? Thanks!:confused:
Marilyn,

We create our own window and place text (and possibly other things) upon that window instead of using the message box, as Gisle suggested.

Rob

[Migrated content. Thread originally posted on 08 January 2008]

I'd like to display a larger font in the message box (maybe even in a different color). Obviously, we can't do that with the Acucorp DISPLAY MESSAGE BOX syntax.

Has anyone out there done this by calling the Windows API? Anyone want to share? Thanks!:confused:
Yup, that's what I did. Thank you very much, Rob. Hope you're doing well.

[Migrated content. Thread originally posted on 08 January 2008]

I'd like to display a larger font in the message box (maybe even in a different color). Obviously, we can't do that with the Acucorp DISPLAY MESSAGE BOX syntax.

Has anyone out there done this by calling the Windows API? Anyone want to share? Thanks!:confused:
Yup, That's what I did. Thank you, Rob and Gisle!

I changed my signature, too. Ahhh, life on the other side is good.

[Migrated content. Thread originally posted on 08 January 2008]

I'd like to display a larger font in the message box (maybe even in a different color). Obviously, we can't do that with the Acucorp DISPLAY MESSAGE BOX syntax.

Has anyone out there done this by calling the Windows API? Anyone want to share? Thanks!:confused:
Yup, That's what I did. Thank you, Rob and Gisle!

I changed my signature, too. Ahhh, life on the other side is good.

[Migrated content. Thread originally posted on 08 January 2008]

I'd like to display a larger font in the message box (maybe even in a different color). Obviously, we can't do that with the Acucorp DISPLAY MESSAGE BOX syntax.

Has anyone out there done this by calling the Windows API? Anyone want to share? Thanks!:confused:
> Ahhh, life on the other side is good.

Don't you get any ideas now! :)

[Migrated content. Thread originally posted on 08 January 2008]

I'd like to display a larger font in the message box (maybe even in a different color). Obviously, we can't do that with the Acucorp DISPLAY MESSAGE BOX syntax.

Has anyone out there done this by calling the Windows API? Anyone want to share? Thanks!:confused:
> Ahhh, life on the other side is good.

Don't you get any ideas now! :)