AfxMessageBox with Bold text
-
Hi all, Is there anyway to have bold text of the message displayed using AfxMessageBox(). If yes please give me the solution.
Regards, Sunil Kumar
Try this lInk [^]. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
Try this lInk [^]. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
Hi all, Is there anyway to have bold text of the message displayed using AfxMessageBox(). If yes please give me the solution.
Regards, Sunil Kumar
I believe CPallini is right with it, but you could maybe try handing WM_CTLCOLORDLG[^] and try to select a bold font into the DC you get as parameter, no idea if it would work or not, but maybe it is worth a try.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Life: great graphics, but the gameplay sux. <
-
Hi all, Is there anyway to have bold text of the message displayed using AfxMessageBox(). If yes please give me the solution.
Regards, Sunil Kumar
You can make your own messagebox.
Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )
-
You can make your own messagebox.
Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )
-
Hi all, Is there anyway to have bold text of the message displayed using AfxMessageBox(). If yes please give me the solution.
Regards, Sunil Kumar
The answer to your question is a simple No. But you can a) roll your own messagebox-a-like, and there are plenty in the dialogs section of codeproject. or b) if you're on vista, use a Task Dialog (see http://blogs.chimpswithkeyboards.com/jonshute/archive/2006/11/26/230.aspx[^] for an article about it) Iain.
Codeproject MVP for C++, I can't believe it's for my lounge posts...