nanogui: Changing display font in pushbutton control
Subject:
Re: [nanogui] Changing display font in pushbutton control
From:
"Greg Haerr" ####@####.####
Date:
12 Feb 2007 01:58:28 +0000
Message-Id: <06fa01c74e49$2e417790$6401a8c0@winXP>
: My first attempt was sending the WM_SETFONT message to the standard
: button control in microwindows, but it apparently doesn't handle this
: specific message. The code that should do it is commented out in the
: control's window procs (cenButtonWndFn) and in other places inside
: the button.c file (#if 0 static void WINAPI cenButton_OnSetFont()).
I commented out the SETFONT code when I brought in
this control from another library. Uncomment it and add
code (after looking at the win32 documentation) to
implement a font change, and you should be in business.
Regards,
Greg