> 'locked' - vdeskhaswindow("0", <window>) returns 0 for them unless I
> explicitly call VDesk.Lock on them.
> 
> I'm not sure if that's deliberate, but would it be possible to treat 
those
> windows as locked when they're created?


Its not so much deliberate as a side-effect of the way it is 
implemented.

As you have found, vdeskhaswindow only looks at the explicit list of 
windows that have been locked.  To cover the implicit list, you need to 
add vdeskhaswindow(0,h)||win.match(h,cap_str) where cap_str is the 
string you are using on the config dialog to lock windows and h is a 
window handle.  h must be a window handle.  (PowerPro cannot test to 
see if to caption lists intersect).

No plans to change this in PowerPro.



Reply via email to