Click to See Complete Forum and Search --> : Font changing problem


Joe
06-30-2000, 06:42 AM
I am fairly new to programming with visual c++, and I was wondering if anyone
knew a way to change the font in the main window of a non-mfc win32 application.
I can change the font in dialog boxes fairly easily using the resource editor,
but I can't seem to find a way to change it in the main window.
I have searched through the MSDN libraries and can't seem to find a solution.

Thanks in advance for any help.

Joe.

Russel
06-30-2000, 06:25 PM
"Joe" <Joe@orange123.freeserve.co.uk> wrote:
>
>I am fairly new to programming with visual c++, and I was wondering if anyone
>knew a way to change the font in the main window of a non-mfc win32 application.
>I can change the font in dialog boxes fairly easily using the resource editor,
>but I can't seem to find a way to change it in the main window.
>I have searched through the MSDN libraries and can't seem to find a solution.
>
>Thanks in advance for any help.
>
>Joe.

Post the WM_SETFONT message to window where you want to change font.