Hello lists,

        Hope you can help me with this problem of bringing back the focus on the
main window after closing a MIAW which called another MIAW. There is no
problem now with crashes when closing MIAWs and no problem on setting focus
if the MIAW to be closed does not call or open another MIAW.  The problem
only happens when that closed MIAW called another MIAW.  The focus is set on
any application that is running in the task bar.  If i had opened a Windows
explorer or the director or other applications before i execute the
projector, then it will activate any of those applications in the task bar
except the main projector. This will misled the user to open again the same
application (projector) thinking that it quits.

        Is there any command that closes or detects  another opened application
before the projector will run? (desperate attempt...)

        I tried having this code on the close button of the first level MIAW,
thinking that when i close this MIAW it will activate the stage/main window,
no error, but still the same problem, it will not focus.  Is something wrong
with this code also?

        Result = baActivateWindow(baStageHandle())


        I really needed your help experts  :-(

        BTW, thanks Tab.


in debt,
ellen


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to