in reply to Re: Change the charset for a window
in thread Change the charset for a window

Well you can change the font of a win32 window using win32::API You get the handle on the window and then pass wm_setfont to the window. But the documentation on how to use it properly and efficiently is poor. I was just wondering if you could set the character set to 2(symbol). I think the default is 0(ansi).

Replies are listed 'Best First'.
Re^3: Change the charset for a window
by BrowserUk (Patriarch) on Sep 06, 2008 at 00:22 UTC

    Sorry. I got the wrong end of the stick and thought you were asking to change a console window font.

    After a quick browse, I'm guessing that you would have to create a new font with the same characteristics as the existing one, but a different character set. But I don't see any way of going from the HFONT returned by WM_GETFONT back to the parameters from which it was created. I think you'll have to go to a windows specific forum for the help you need.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.