mfc - 带有丰富文本的MessageBox [英] mfc - MessageBox with rich text

查看:239
本文介绍了mfc - 带有丰富文本的MessageBox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在讯息框中显示格式化的文字(例如粗体文字,圆点,斜体等)。



我遇到了注释已修复这整齐。


I want to be able to display formatted text inside a message box (like bold text, bullet points, italics, etc.).

I came across this wonderful article but can't seem to get it to work. I am using the demo application at that same link.

Can someone please help me out? I have tried debugging/understanding that code in vain.

Constraints: (not my choice)

  • Has to be compatible with Windows XP.
  • I'm using Visual C++ 6.

How it is supposed to display:


How it actually displays:

解决方案

I have solved this problem thanks to the very helpful suggestions of DavidK (see comments on the question). The FIX for Windows 2000 comment fixed this neatly.

这篇关于mfc - 带有丰富文本的MessageBox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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