View Single Post
  #4 (permalink)  
Old 04-24-2012, 01:44 PM
Vincent Sarago
Guest
 
Posts: n/a
Default Re: runtime application avoid multi open

On Tuesday, April 24, 2012 3:37:04 PM UTC+2, David Fanning wrote:
> Rongchang Chen writes:
>
> > I have my runtime application, saved it in a .sav. I found it can be
> > multi opened. However, I wish the same application just can be one
> > open/active on the operation system, if someone want to open the same
> > application again, then it will pop-up the already opened one.
> > Does someone know how to realize this?

>
> Use the XRegistered command in your program. If the program
> is already registered, use the Show keyword to Widget_Control
> on your top-level base widget.
>
> Cheers,
>
> David
>
>
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")



arghhh David you are every where ;-)


Vincent

Reply With Quote