Discussion Locked

Messagebox fonts in VB .NET

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm new to VB.NET and I've tried searching the WEB so either this is very basic or very rare.

What do I code to change the font for text in a specific messagebox without altering any default font settings. Example:
messagebox.show("AAA:") <-- how do I manipulate the font.

Many Thanks
Bob

3 replies

by tony hopkinson

Rare. Messagebox is a wrapper to the windows system dialog box, You might be able to pick up the handle and punch a font change to it, be easier to create you own dialog form and just call that though.

by dcoops

If you want to consider a commercial solution, you can look at my HTML MessageBox product at www.html-messagebox.com, which allows you to use simple HTML in the text of the MessageBox (MsgBox in VB!) to change fonts, and use bold, italics and underline.

This discussion is closed to new replies.