HISE Logo Forum
    • Categories
    • Register
    • Login

    Engine.showYesNoWindow lose focus in Logic

    Scheduled Pinned Locked Moved General Questions
    5 Posts 3 Posters 199 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ulrikU
      ulrik
      last edited by

      I'm using the

      Engine.showYesNoWindow()
      

      function in a compiled plugin, however the window lose focus and hides behind the plugin window when used in Logic

      hides.gif

      This doesn't happen in Ableton, anybody knows how to fix this?

      This is the code I use for open the window

      inline function onSaveComparedBtnControl(component, value)
      {
      	if (value)
      	{
      		Engine.showYesNoWindow("Save", "Save 'THIS' as preset?", function(response)
      		{
      				PresetsOpen.setValue(response);
      				PresetsOpen.changed();
      		});
      	}
      };
      
      Content.getComponent("SaveComparedBtn").setControlCallback(onSaveComparedBtnControl);
      

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @ulrik
        last edited by

        @ulrik

        This doesn't happen in Ableton, anybody knows how to fix this?

        I think this is something that needs to be fixed in C++.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        ulrikU 1 Reply Last reply Reply Quote 1
        • ulrikU
          ulrik @d.healey
          last edited by

          @d-healey Ok, and you have become a c++ guru right? 😛

          Hise Develop branch
          MacOs 15.3.1, Xcode 16.2
          http://musikboden.se

          Christoph HartC d.healeyD 2 Replies Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @ulrik
            last edited by

            I think this is something that needs to be fixed in C++.

            I think this is something that needs to be fixed by Logic...

            1 Reply Last reply Reply Quote 2
            • d.healeyD
              d.healey @ulrik
              last edited by

              @ulrik said in Engine.showYesNoWindow lose focus in Logic:

              @d-healey Ok, and you have become a c++ guru right? 😛

              No I'm still just a hack :)

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              24

              Online

              1.8k

              Users

              11.9k

              Topics

              104.0k

              Posts