> 
> _declspec(dllexport) void doit(..., LPSTR* args, PPROSERVICES* 
ppsv)
> {
>   ppsv->ResetFocus();
>   ShellExecute(NULL, "open", *(args+1), *(args+2), *(args+3),
>               SW_SHOWNORMAL );
> }


Sorry, I misread doit as do in my other reply.  

The ResetFocus is not needed in above.  Or at least it should not 
be.  ResetFocus is intended to reset the focus to the window that 
had the focus before a  bar button was clicked for key sending etc.

But if you are launching a new app, then doing that is not needed.

I use ShellExecuteEx in PowerPro for reasons that I cannot remember, 
but it may possibly have to do with launching shortcuts to virtual 
folders, although I have not checked on this in years and this may 
relect old Win9x issues.  

I'd be interested in any experiments you do with ShellExecuteEx.






------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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