如何在VC ++ mfc消息框中使某些文本变为粗体? [英] How can I make some text bold in an VC++ mfc message box?

查看:60
本文介绍了如何在VC ++ mfc消息框中使某些文本变为粗体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在VC ++ mfc消息框中使文本变为粗体?

How can I make some text bold in an VC++ mfc message box?

推荐答案

您不能使用标准消息框.但是,CP上有一些可能的替代品:
You cannot using the standard message box. However, there are a couple of possible replacements on CP:


  • Dissecting the MessageBox by Sijin[^]
  • TCX Message Box by Thales P. Carvalho[^]
  • CPPMessageBox by Eugene Pustovoyt [^]
  • If you''re using Windows Forms: MessageBoxManager by Nishant Sivakumar[^]


您必须制作自己的消息框版本.下面的文章(注明日期)中介绍的技术可能会有所帮助:不再询问"消息框 [ ^ ].
:)
You have to make your own version of the message box. The techniques explained in the following (bit dated) article may help: "Do not ask again" Message Boxes[^].
:)


我个人最喜欢的自定义消息框是 XMessageBox-反向工程MessageBox() [ ^ ].这将自动设置样式,使其看起来像Vista和7上的Vista消息框.
My personal favourite custom message box is XMessageBox - A reverse-engineered MessageBox()[^]. This will automatically style itself to look like the Vista message box on Vista and 7.


这篇关于如何在VC ++ mfc消息框中使某些文本变为粗体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆