>
> Bruce,
>
> While you are building the docking services for our bars, could you
> consider adding these docking services to the win plugin so we can
> write script to dock dialog boxes, powerpronotes, etc?
>
>
The design I had planned for bars won't work for the other cases.
That is because PowerPro knows when bars are created, moved or hidden,
but there is no way that I know of to tell this in general for other
windows. (Well, it does know it for notes too, but these have other
issues -- see below).
Hooks will tell you if a window is moved by dragging, but not if it is
moved programatically. Also, AFAIK, they won't tell you have a window
is hidden or becomes visible.
The only way I know to do it in general would be to use a polling
check against a list of pre-registered windows. You could write a
script for this.
Another problem with notes or other non-bar windows is you have to
deal with the issue of how to identify uniquely a participating
window. With notes or any window where the caption could change or
not be present when the window is first created, you have a
challenge. Of course, you can use window handles once they are known,
but since they would change each time you used the window, I don't see
how to make a useful interface for locking based on window handles.
If you have any thoughts on how to solve these problems, I can look at
writing a more general approach.
>
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.
