dwight@geohub.gcn.uoknor.edu (Dwight D. Moore) (03/08/91)
Ok, here is one for the OSF guys or anyone else... I have two arrow button widgets, one with XmARROW_UP and XmARROW_DOWN directions specified on creation. They call the same callback on XmNactivateCallback resource. In the callback, I use XtVaGetValues to get the XmNarrowDirection value for the widget that did the callback. Whenever I switch to the other arrow, regardless of whether it is the up arrow to the down arrow or vice versa, I get back garbage as a value. It doesn't matter if I use XtGetValues either. It seems like when it gets focus, it calls the activate routine and I get garbage becase the next activate on the same widget seems to work fine...just when I switch widgets.???? I am using MOTIF 1.1 on VMS 5.4 ---------------------------------------------------------------------------- Dwight D. Moore Geosciences Computing Network University of Oklahoma dwight@geohub.gcn.uoknor.edu (129.15.40.10) ---------------------------------------------------------------------------- I do not represent the opinions of the University of Oklahoma or the State of Oklahoma, or the GCN or anyone else for that matter...