Open a (child) window in Prepar3D's mainwindow with simconnect

Is there any simconnect command I can use to open/close a child window in Prepar3D's main window?

I have a running airplane in Prepar3Dv4 that has some windows that I can undock.

From my client software, I need to be able to open/close these windows.

I have a list of all the Handles and Window captions of these windows.

But, I can't find any way to use Simconnect to open/close them.

Simconnect or any other solution ideas are welcomed