--- In [email protected], kenneth marken <[EMAIL PROTECTED]> wrote:
> setup tab, advanced setup button. and in that window: other tab, "stop 
> alt-f4 fromclosing bars" checkbox...

Thanks.  That's good to know and I've set it.  But I rarely use
<Alt-F4>.  I mentioned it for emphasis.  The focus problem is really
weird.

Just sticking with one bar, and with buttons that simply launch EXEs,
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.

It seems like the calling of PPro's internal ResetFocus() is iffy
(whether it's called/whether it works).  In sharp contrast, if I
bypass PPro's normal way of starting things by using my homemade,
pproex.doit("exe","args","dir") (see below) on buttons, I have none of
the focus problems mentioned above.

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

 - Vince





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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