comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Progress and Widgets
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Progress and Widgets [message #10498 is a reply to message #10487] Wed, 10 December 1997 00:00 Go to previous message
davidf is currently offline  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/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: IDL5 and large structures: Program code area full
Next Topic: Re: Placement of Floating widgets

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 09:38:28 PDT 2025

Total time taken to generate the page: 0.87956 seconds