[comp.windows.open-look] XView: Setting PANEL_MESSAGE font?

warsaw@nlm.nih.gov (Barry A. Warsaw) (03/29/91)

Hello!  I've been trying to set the font of an XView PANEL_MESSAGE
item with absolutely no success. I'm presuming it can be done since
I am able to set a PANEL_LIST row's font with PANEL_LIST_FONT(S) and
row entries are PANEL_MESSAGE items right?  I've kinda perused the
XView source (p_list.c) and I think I see how they do it, but when I
try it -- nothing.

I've tried setting the font with PANEL_LABEL_FONT (which p_list.c
uses, but is undocumented), and with XV_FONT when both creating the
message item with xv_create and later with xv_set.  No luck with
either!

Anyway, I'm sure this is not Open-Looky, but hey "sometimes you gotta
just break the rules" :-).  Any help (or even better, a working
example!) will be greatly appreciated.  Thanks.

-Barry

NAME:  Barry A. Warsaw         INET: warsaw@nlm.nih.gov
TELE:  (301) 496-1936          UUCP: uunet!nlm.nih.gov!warsaw