With the example above, I still get chars from the ANSI table. But, it seems to work with some changes - using SYMBOL_CHARSET and "Symbol" font. Looking up Symbol font in Charmap, the ohm symbol is '\x57'.
m_pFont->CreateFont(15, 7, 0, 0, 400, FALSE, FALSE, 0...
I want to display extended ascii characters (ohm symbol in particular) throughout my dialog box and app. MSDN says to use octal or hex notation of the ASCII character code. So, I tried...
AfxMessageBox("ohm hex: \xEA , ohm octal: \352");
But, this seems to display characters from...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.