brucexs wrote (on 22.08.2006 13:22):
> ...Can you
> you see what PowerPro thinks is the active window when the dust
> settles (ie after activating new window and PowerPro switching or note
> switching) by putting somethink like
> *info expr(win.caption("rawactive"))
> in a bar button?
It depends.
FYI, I've tested this by using only one window on the desktop,
Ultraedit. I have a main bar called "bar_main" where I display the *Info
label with the expression above. And I'm waiting for 2-3 seconds before
every action and switching desktops via keyboard.
Variant 1:
I click on bar_main. Active => bar_main, duh!
I activate Ultraedit before minimization. Active => Ultraedit, duh!
I minimize it to a dynamically cl-generated bar. Active => bar_main
I switch to another vdesk => Active => bar_main or very rarely
SystemMeter Plugin
I hover the bar. Active => "PowerPro pproconf", or very seldomly the
cl-bar itself "_cl_somehandlenum"
I restore the window by clicking bar. Active => bar_main or SystemMeter
Plugin. The original VDesk is rarely restored and Ultraedit does not get
activated; I'm using plain win.show(handleid).
Variant 2:
I begin with clicking on the desktop. Active => Program Manager
I minimize Ultraedit to a cl-bar, *without* activating it. Active =>
still Progman
I switch to another Vdesk. Active => still Progman
I hover the bar. Active => "PowerPro pproconf", or very seldomly the
cl-bar itself "_cl_somehandlenum"
I restore Ultraedit. Active => Ultraedit, and the original Vdesk is most
of time, but not always, restored. Ultraedit does or does not become active.
For my particular case, I have a very simple solution. Since I control
the bar and I know the vdesk in which a window's been minimized, I've
simply added a "Vdesk switchto <originalvdesk>" to the restore command
of the bar. So you decide if you fix this problem or not.
Thanks for your efforts!
Greetings
Cüneyt
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/