> and performing the experiment:
> 
>   start app A ... start app B ... exit app B
> 
> what happens is inconsistent.  If app B is CMD.EXE or NOTEPAD.EXE,
> focus winds up with the PowerProToolBar class window.  If app B is
> AGENT.EXE (news-reader) or DEVENV.EXE, focus winds up with app A.


AFAIK, PowerPro does nothing when you exit App B.  What you are seeing 
is the Windows system deciding on where to put the focus, and 
sometimes Windows decides to put the focus on the PowerPro bar.

I have looked at "refusing" the focus, but never could get this to 
work usefully, as there are cases when the bar needs to take the focus.

It may be the somehow Windows looks at the app that launched the 
closed app when deciding where to put the focus.

I cannot explain the differences you see with do(), as internally 
do ("x", "y")
just ends up calling exactly the same ShellExecuteEx that a plain 
command line of x y would run.







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to