Benjamin Horowitz (bhorowit@heffalump.cs.umass.edu) wrote:
> I'd like to set the XtN dragCBType resource of an OPENLOOK scrollbar to the
> value of OL_RELEASE. Unfortunately, OL_RELEASE isn't one of the OPENLOOK
> constants that's defined in XolConstants.ph. Is there anyway to set the
> resource to the value of OL_RELEASE, despite the fact that OL_RELEASE isn't
> defined in XolConstants.ph ?
Two responses are appropriate here:
1. From /usr/openwin/include/Xol/OpenLook.h
#define OL_RELEASE 79
so the Pop11:
constant macro OL_RELEASE 79;
should do the trick.
2. Sun's implementation of OLIT is a heap of Dingo's Kidneys! Be afraid,
be very afraid.
Do as _little_ work with openlook as possible, and switch to the Motif
version of Poplog as soon as you can.
Cheers,
Ian.
--
<a href=http://www.cogs.susx.ac.uk/users/ianr/>Ian Rogers</a>
|