D_GONZALEZ@UPR1.UPR.CLU.EDU (05/15/91)
Hi I have a program that creates an XmScrolledWindow with a TextWidget as its child. Everything worked fine until I added a function that will be used to print on this window. I am actually using it to print a welcome message at the beggining of the program. (Before the XtRealize ...) I get the following warning: $ sdt X Toolkit Warning: Name: hbar Class: XmScrollBar 2054-414 The specified ScrollBar value is not valid. $ Could somebody tell me what is going on ??? This is how I am printing the text: current_pos = XmTextGetLastPosition(parent); /* insert text in last position. */ XmTextReplace( parent, current_pos, current_pos, new_mesg); where parent is the text widget... David Gonzalez internet: d_gonzalez@upr1.upr.clu.edu CEENET Lab Staff lestat@rmece01.upr.clu.edu University of Puerto Rico Mayaguez Campus -- Engineering School