[comp.windows.x] VMS DECWindows resource files

dick@oak.Atherton.COM (Dick Berens) (11/07/89)

We are having trouble getting resource entries recognized using VMS
DECWindows. The same entries work using the normal MIT distribution
on Sun and they also work using the IBM AIX distributed Xt and Xlib.

XtInitialize is being called with the application class string and the
shell name string having the same values (using NULL for the shell name
has also been tried).  The class.DAT file appears to be read since
the entry "*BorderWidth: 0" does set all border widths to 0.  None
of the other entries are recognized.  We have tried making upper
case characters lower case but to no avail.

We are using the HP widgets.  I am inserting a fragment from the
class.DAT file in case someone can detect an obvious error.

If anyone has any idea as to the problem or a solution, we would
appreciate suggestions.

#
# all border widths set to 0 so border do not exist. will be set to 1 when
# desired for individual object
#
*BorderWidth: 0

#
# causes borders to appear around text labels
#
#*StaticText*BorderWidth: 0

#
# causes borders to appear around text input areas
#
*TextEdit.BorderWidth: 1
#
#causes the borders about menu items to be set
#
*Cascade*BorderWidth: 1
#
# causes message area text items not to have a border
#
#*ScrolledWindow*BorderWidth: 0

#
# causes choice buttons to have a border
#
*RowCol.BorderWidth: 1

# indicates that depressing the middle button generates a popup menu
#
*BulletinBoard.Shell.PopupMgr.MenuPost: <Btn2Down>
#
# indicates that releasing the middle button selects from a popup menu
#
*BulletinBoard.Shell.PopupMgr.MenuSelect: <Btn2Up>



Richard Berens 
Atherton Technology, 1333 Bordeaux Dr., Sunnyvale, CA, 94089
   E-mail:     dick@Atherton.COM
   UUCP:      {decwrl,hpda,pyramid,coherent,sun}!athertn!dick
   Voice:     +1 408 734 9822