Hi,
How do i use the √(Square root) symbol as a CButton's caption.
I have tried pasting it, it shows up on the Dialog editor fine, but upon execution gets converted to 'v'.
Printable View
Hi,
How do i use the √(Square root) symbol as a CButton's caption.
I have tried pasting it, it shows up on the Dialog editor fine, but upon execution gets converted to 'v'.
I use a CBitmapButton for special symbols. There may be an easier way to do it, but that's pretty easy and it works.
If you're using VS2008 with the MFC9 feature pack, then CMFCButton is a nice alternative to CBitmapButton:
http://msdn.microsoft.com/en-us/library/bb983153.aspx
Open the .RC file, and save it in Unicode format!
That's it! :)