widget_control from call_external [message #24012] |
Thu, 01 March 2001 06:48  |
Dominic.Scales
Messages: 1 Registered: March 2001
|
Junior Member |
|
|
Hello all,
anybody have a hint on this?
I have a c/c++ programme that is called from within a
widget hierachy via call_external.
As the computations made take fairly long, I want to update
a status bar with a 'Percentage complete' from the C-routine,
so the user doesn't get upset and thinks the programme died
on him/her.
How do I go about that???
Dominic
--
Dipl. Phys. Dominic R. Scales | Aero-Sensing Radarsysteme GmbH
Tel: +49 (0)8153-90 88 90 | c/o DLR Oberpfaffenhofen
Fax: +49 (0)8153-908 700 | 82234 Wessling, Germany
WWW: aerosensing.de | email: Dominic.Scales@aerosensing.de
--
Posted from hans.as.op.dlr.de [129.247.186.91]
via Mailgate.ORG Server - http://www.Mailgate.ORG
|
|
|
Re: widget_control from call_external [message #24052 is a reply to message #24012] |
Mon, 05 March 2001 10:08  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
dominic@work.com (dominic@work.com) writes:
> That sounds like a great idea.
> I tried to implement that, but the timer stops ticking!
> Seems like xmanager doesn't accept events until the
> call_external returns.
Humm. Yes. I can see how that might happen. :-(
I'm afraid you might have to figure out some
way to go with JD's suggestion of interrupts.
Completely out of my league, though, sorry.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|