[comp.windows.x.motif] Subclassing XmForm

rich@bryce.llnl.gov (Rich Mayfield) (06/20/91)

Thanks to all who have responded to my question.
Here's what I found WORKED FOR ME.  I emphasize
that it worked for me because it seems what works
for some, doesn't work for all (there's a revelation
for you).

My problem was that Xt died while resolving the
constraint class part in my sub-class of XmForm.
I found that if I NULLed all fields in my subclass'
constraint_class_part, with the exception of the
constraint size which I set to the size of XmForm's
constraint record, all went well.

Quite a few people out there suggested also
inheriting the procs that go along with the constraint
record.  Well, this worked for them, but not for
me...  (begin flame) BTW, I'm using DEC's 
convoluted Motif 1.1 running on, yes, X11 R3.
(end flame)

--------------------------------------
Rich Mayfield (rich@bryce.llnl.gov)
who works at but does not represent
Lawrence Livermore National Laboratory