HISE Logo Forum
    • Categories
    • Register
    • Login

    disable right click on audio waveform

    Scheduled Pinned Locked Moved Scripting
    11 Posts 4 Posters 509 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.
    • oskarshO
      oskarsh @meto396
      last edited by

      @meto396 You can just put a transparent panel over it with no callbacks.

      HISE Developer for hire :)

      M 1 Reply Last reply Reply Quote 0
      • M
        meto396 @oskarsh
        last edited by

        @oskarsh the problem is: how should I then drag my audio files onto it?

        oskarshO 1 Reply Last reply Reply Quote 0
        • oskarshO
          oskarsh @meto396
          last edited by oskarsh

          @meto396 you can set the panel to allow dragging and use that to load the audio file. However it is more complicated.

          HISE Developer for hire :)

          M 1 Reply Last reply Reply Quote 0
          • M
            meto396 @oskarsh
            last edited by

            @oskarsh so is there no other way to script something that disables the right click for it? I still wanna use and change the range of the audio waveform

            M 1 Reply Last reply Reply Quote 1
            • M
              meto396 @meto396
              last edited by

              @meto396 is there a way to disable this function with setMouseCallback?

              DanHD 1 Reply Last reply Reply Quote 0
              • DanHD
                DanH @meto396
                last edited by

                @meto396 could be one for the source code...

                DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                https://dhplugins.com/ | https://dcbreaks.com/
                London, UK

                1 Reply Last reply Reply Quote 0
                • M
                  meto396 @meto396
                  last edited by

                  @d-healey @Christoph-Hart @Lindon can anyone help me here?

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

                    @meto396 I think the answer has already been given

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

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      meto396 @d.healey
                      last edited by

                      @d-healey I can't see a solution

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

                        @meto396 As Dan said, probably need to edit the source code.

                        I think it's this line: https://github.com/christophhart/HISE/blob/develop/hi_tools/hi_standalone_components/SampleDisplayComponent.cpp#L2509

                        @Christoph-Hart Is it possible for a mouse broadcaster to consume the event before opening the file browser?

                        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

                        45

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        102.1k

                        Posts