how to fin phditto window

I’m trying to use system(“phditto -t xxx.xxx.xxx.xxx &”) to see aonther
mahince on the network from the software.
now, how do i get the widget pointer of this phditto window?? i need to
bring it back and forth using PtWindowToFront()
and PtWindowToBack()