Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Detecting/Disabling Title Bar Contextual Menu in window mode

Discussion in 'Windows' started by OlizorBerzerk, Jul 7, 2019.

  1. OlizorBerzerk

    OlizorBerzerk

    Joined:
    Feb 4, 2019
    Posts:
    1
    Hello!

    I am looking for more information on this issue:

    We have a music game, and on Windows (Standalone) if the player right-click on the title bar at the top, when the game is in Windowed mode, the games threads pause, except not the audio thread.

    So I am looking for a solution to either disable this menu entirely or just detect it in scripting so that I can pause manually.

    Thanks!

    Olivier
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    6,340
    Audio should be pausing too.. Which Windows version are you on? We've had reports audio was misbehaving when minimizing the window in a very specific way on Windows 7 but was not the case on later Windows versions.