I have a Perl/Tk program which does a long process and I want to be
able to do other things while it's working. Is there any way to make
my program put its window on top of all other applications when it's
done?
Now why would you want to do that?
If I had to use this program and I were running another window
that had the focus and in the middle of typing or clicking a stupid
windows took the focus from me, I would never run this stupid thing
again. Especially bogus Perl window crap! Problem is some people
think their running program is more important than what the user
might be doing somewhere else. Don't ask this question with the
assertion that this is somehow OK for everybody to do. There's
gui guidelines on Microsofts website, for the people such as you
who are neophyte's to user friendlyness, and in my opinion, just
plain intrusive on multi-tasking os's.
Look for a beep or taskbar flash method somewhere.