You can pass a pointer to the other window.