Vic,

You can restrict the clips to any window. To get clips you have a Window object and use the Clips method. For example something like:

Set myClips = ActiveWindow.Clips

This will give you all the clips of the active window and all its children. But, if you just want the active and not it's children you use an optional parameter. So for example:

Set myClips = ActiveWindow.Clips(False)

This will give you all the clips of the ActiveWindow ONLY. So no matter what window object you have you can get just its clips using the False parameter. Take a look at the documentation for the Clips method in the Window Object.

So you don't have to filter your clips collection to just the window of interest, you just get the clips for that window in the first place. Does this answer your question?

Regards,
Doug

Vic Beckley wrote:

Hi Aaron and all,

I am working with an application which has many child windows. I am monitoring clips written to all the windows for a certain color. Is there a way to restrict the collection of clips to a certain child window and exclude clips of the same color written to other child windows?

Vic



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4660 (20091204) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

Reply via email to