Re: Progress and Widgets [message #10498 is a reply to message #10487] |
Wed, 10 December 1997 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Matthew Hanson (matt@ktaadn.com) writes:
> I am currently working on a program which has substantial computation
> and wait times (incidentally, the object graphics seem to take an
> unusually long time to render. . .).
No c-o-m-m-e-n-t.
> I want to be able to show progress and was wondering if anyone knows how
> to do the following things:
> 1) Change the pointer/mouse to an hourglass or similar 'hold on' icon.
> I am using IDL for UNIX.
Widget_Control, /Hourglass
> 2) Show a progress bar.
I put an example of this on my anonymous ftp site for you. The
file is named showprogress.pro. Compile it and then type "test"
to see it in action. You can find it at:
ftp://ftp.dfanning.com/pub/dfanning/outgoing/miscellaneous/
> 3) Have a modal message widget come up, but with no user buttons, and
> some text. Basically it needs an ID so i can destroy it later in the
> program. Is the best way to do this just make a window?
See the code above. I like to make it a function that returns the
ID value when its called.
Cheers,
David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|