nanogui: Changing display font in pushbutton control


Previous by date: 12 Feb 2007 01:58:28 +0000 Re: a question about Tcl ,T k ,N xlib and Nano- X, Greg Haerr
Next by date: 12 Feb 2007 01:58:28 +0000 Re: rotate mouse movements 90 degree in nano-X, Greg Haerr
Previous in thread: 12 Feb 2007 01:58:28 +0000 Re: Changing display font in pushbutton control, Uwe Klatt
Next in thread: 12 Feb 2007 01:58:28 +0000 Re: Changing display font in pushbutton control, jasinski.utfpr.edu.br

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

Previous by date: 12 Feb 2007 01:58:28 +0000 Re: a question about Tcl ,T k ,N xlib and Nano- X, Greg Haerr
Next by date: 12 Feb 2007 01:58:28 +0000 Re: rotate mouse movements 90 degree in nano-X, Greg Haerr
Previous in thread: 12 Feb 2007 01:58:28 +0000 Re: Changing display font in pushbutton control, Uwe Klatt
Next in thread: 12 Feb 2007 01:58:28 +0000 Re: Changing display font in pushbutton control, jasinski.utfpr.edu.br


Powered by ezmlm-browse 0.20.