Unfortunately, there isn't a restore option (only a minimize/restore toggle). Are you able to send messages to the XMPlay window? If so, you could try sending a WM_SYSCOMMAND message with wParam=SC_RESTORE to it. If you can call functions, another possibility is the ShowWindow function with SW_RESTORE.