Hiding a Parent Window

Dawn M

Member
V9.1c - Windows Client - Unix Server

I have a parent window that calls a child window. I must hide the parent window when I call the child. Currently, the code I have now is...

assign hWindowHdl = {&window-name}:handle.

{&window-name}:hidden = yes.

run child.w .

{&window-name}:hidden = no.

apply 'entry' to hWindowHdl.

However, I need to send the handle of the Parent window to the Child procedure. I cannot use "persistent set hNewWindow" because it creates a separate window for the child. I do not want to pass the Parent window as a parameter or use a shared variable.

Any ideas how to solve my problem?
 
Top