What is the difference between overwolf.windows.minimize and overwolf.windows.hide

What is the technical difference between overwolf.windows.minimize and overwolf.windows.hide ?

Developers can use one of the two in different scenarios :

  • When you minimize a window you’ll allow users to press the icon in the taskbar to bring your window again in the foreground.
  • When you hide a window you’ll prevent users from accessing your window from the taskbar and bringing to the front back (because also the corresponding icon in the taskbar will be hidden).
    While minimize just minimize (lol) your window (like any other window in Windows does), hide will allow you to build a window that could leverage for example evaluated results to stay alive in your app/window (instead of closing, reopening the window and re-evaluate the results) or UI components that will be handy for you just to reuse them.
    (i.e., caching and responsiveness)

Both allow you to just restore them programmatically when you’ll feel right to do so.