Child Window Handle in Dynamics

ankit_jkt

New Member
Hi All,
I am using Progress Dynamics 9.1E. I want to fetch child window handle in the parent window.

I have a parent window with toolbar (Toolbar made up From the Appbuilder option "Toolbar And Menu Designer") buttons from where user can access the child window. Now i want to fetch handle of all the child window which have opened through this parent window.

I have an idea to do this by Publish And Subscribe mechanism but in my case a lot of child window may open from the parent window, so i think this is not a right approach.

Please help me, Its urgent.

Thanks & Regards
Ankit
 
Please don't flame because it's been a long time since I had to do with Dynamics.

As far as I remember, depending on how you started the child windows, the container keeps track on all child objects. The propertiy is ContainerTarget which holds a comma separated list of handles to all child objects. A child object would be a folder too for example. So you need to loop through the list and ask the child objects for their object type in order to determine whether it is one that you need.

Heavy Regards, RealHeavyDude.
 
Back
Top