[comp.windows.open-look] pop up and push down a window w/o buttons

hwlee@oahu.cs.ucla.edu (Hsing-Wen Lee) (06/19/91)

Hi:
	I am a new driver in OLIT.
I am writing a program using OLIT. to translate data between 
different format. In this program, I need to pop a window to display how
many records has been translated and the program will keep updating 
the counter in the window. My approach is creating a notice widget,
filling it with necessary RtextS and then using XtPopup() to pop it up.
The window has been popped up, but the RtextS inside wonUt display. If I
add the following statements after the XtPopup(), the RtextS will display.


	for(done=FALSE;done!=TRUE;){
		XEvent xevent;
		XtNextEvent(&enent);
		XtDispatchEvent(&xevent);
	}

But in this way, the program wonUt be able to push down the window 
after the translation is completed.

Does any one know how to let the program pop up a window, continuously
display some message(like counter) in it and push it down without the user
to press any button?

By the way, In the SUN's OLIT, I couldn't find the GadgetClass for their 
corresponding widgets except oblongButtonWidgetClass and
menuButtonWidgetClass. Does the latest version provide this? Since my
program keep displaying X error message for opening too windows.

	Your assistance is very appreciated

	Hsing-Wen Lee