Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: fgreco@govt.shearson.COM (Frank Greco) Newsgroups: comp.windows.x Subject: Re: XView: Setting PANEL_MESSAGE font? Message-ID: <9104041432.AA00273@fis1.shearson.com> Date: 4 Apr 91 14:32:47 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 16 > 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. According to the OPENLOOK spec, all fonts in a panel should be the same font (I don't agree, but that's another story). So since PANEL_MESSAGE's are Panel Items, you change the font by setting the font on the *panel*, not on the panel message. Unfortunately, everything else in that panel also changes. So if you want separate fonts for different panel items, you are forced to use separate panels. Frank G.