> code that is run when a bar button is clicked. By that time it is
> too late, the focus has already changed to the bar's window.
Windows provides a way around this which PowerPro uses now. It tells
a window when the mouse is moved over it. Before you click a button,
you have to move your mouse over the bar/window. And when you move
your mouse over a bar, PowerPro notes which window has the focus so
that it know which window to switch back to if you click.
Right now, it only notes the top-level window. But it could note the
child window. I thought I tried this and could not get it to work.
But if win.getfocus method you describe works reliably, I could try
harder.
Attention: PowerPro's Web site has moved: http://www.ppro.org
SPONSORED LINKS
| Computer monitoring software | Power pro | Computer and internet software |
| Free computer monitoring software |
YAHOO! GROUPS LINKS
- Visit your group "power-pro" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
