Author Topic: DDE Key for "Restore"  (Read 1074 times)

IcErZ

  • Guest
DDE Key for "Restore"
« on: 26 Jan '23 - 22:46 »
is there a DDE Key/Message (or cmd option) for "Restore"?

I want xmplay to come out from the tray...
without using /MinimiseTray or /Minimise
bc i would use the same cmd multiple times

thx

Ian @ un4seen

  • Administrator
  • Posts: 26155
Re: DDE Key for "Restore"
« Reply #1 on: 27 Jan '23 - 11:27 »
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.