How To Change Font Size In C# Windows
How To Change Font Size In C# Windows message Box
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Jun 15, 2012, 5:30 AM EDT
.NET's MessageBox class is based on the unmanaged MessageBox function and, as you'll see from this link, there's no way to use a different font or font size:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms645505(v=vs.85).aspx
If you need this functionality, you'll have to create your own custom MessageBox class or look for one on the internet which some one else has already built.
Mahesh ChandRank #1 · 393.3K reputationPosted Jun 15, 2012, 6:38 AM EDT
How about the new Accepted feature and new icon for the accepted answer on the home page.
VulpesRank #55 · 29.2K reputationPosted Jun 15, 2012, 6:43 AM EDT
The green transparent diagonal band over the answerer's picture is a nice touch :)