[comp.sys.apollo] Dialog/GPR questions

bhagwan@voodoo.UUCP (06/10/87)

Hi,

	I'm new to the Apollo, forgive me if these are easy questions.

	First question:
	I'm writing an application using Dialog and GPR in conjunction.
	Let's say I have a STRING task that displays a STRING_FIELD
	technique in a POPUP. That's OK and it works (BTW this application
	uses "call back" control flow per Apollo manual). Now, I'd also
	like to display a POPUP GRAPHIC_AREA that has no associated task.
	This will be used as a "progress display" for long routines (sort
	of like a pie that keeps getting smaller by removing slices).
	Anyway, is there a way to pop this up, use it, and get rid of it
	all from within the application?  The flow of this routine (ideally)
	would go as follows:

		Entry:
			dp_$string_get_value (...
			/* pop down the STRING_FILED popup somehow? */
			/* begin "long" process */
			/* popup a GPR bitmap over the active one */
			/* every now and then write to the GPR area */
			/* popdown the GPR area */
			return; /* to Dialog */

	Second question:
	Also for the above application. I need to get screen copies at
	various points throughout its execution for inclusion in the
	documentation. I tried taking the event_wait out from inside
	the acquire/release bracket and doing pad_$dm_cmd (...xi -f...)
	commands. This didn't work (got garbage). Optimally, I'd like to
	be able to interrupt my running application (while displaying
	Dialog techniques) and dump the entire screen/the window/or
	a rectangular portion of it. Does anyone have any idea how to do
	this?

	Please E-mail me if you have any information. Also, feel free
	to give a call. I sure appreciate the help.


-- 
Al McPherson		     Voodoo Graphics Project 
Boeing Computer Services     ....uw-beaver!ssc-vax!voodoo!bhagwan
Everett, Washington	     (206) 342-1442 or (206) 656-5446