Window or Widget to front? [message #69857] |
Mon, 15 February 2010 14:50 |
j.coenia@gmail.com
Messages: 36 Registered: December 2008
|
Member |
|
|
This question has been asked before but not answered (David Watson
2005).
I want to bring my IDL run-time application's window to the front,
including in front of *non-IDL* windows. I have a run-time program
that needs to start in front of another non-idl program running in
WindowsXP. Currently, whether it starts in front or not is completely
random: sometimes I run it and it will come up in front of the other
application's window, other times it will start behind. Yes, I've
used WIDGET_CONTROL, id, /SHOW, but that won't work, even if I re-show
the widget every 1s using timer events. If it starts out behind, it
stays behind until I mouse to it and bring it to the front... but it's
not completely impossible to bring it to the front, since I can easily
do it with the mouse. It just seems to be impossible to guarantee
that it will start in front.
(It it doesn't start in front, the user can't see it unless they
minimize the other app, which always takes up the full screen.)
Any ideas? An argument to idlrt? Something in the preference file?
Thanks,
JC
|
|
|